-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
triangle-framed (non-filled) #9
Comments
Hi @lkraav! Sorry for the delay. How do you think it should be? Something like There are many parameters to consider:
|
This is a tricky one, sometimes you would want to adjust the position of the arrow as well (left,right,top,bottom) |
But maybe the position should be defined outside the utility. .element {
@util triangle-framed(20px, 10px, #000, 1px solid #000, up);
top: 10px;
left: 5px;
} In this case, we need to think how parameters should be declared,
it could be an option. |
Good idea. I still find this one a little bit tricky, the attached screenshot uses a border width which would require more psuedo elements to be defined but maybe that's not always the case for the user. Why don't we start with a pen to illustrate how we would style the arrow in different scenarios? |
This could be a good starting point: http://www.cssarrowplease.com/ |
This may be a tricky one, requiring both pseudo element positions and other magic.
The text was updated successfully, but these errors were encountered: