You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Many design tools like Figma have an option to configure element's stroke (border) position such as "inner", "outer" and "center". Currently, it's not possible to set border's position in CSS.
Solution: This can be achieved with outline and outline-offset.
I can see that this might be implemented using a plugin but would you consider adding this feature in the future? Or at least using a variable for outline-width so it's easier for a plugin to implement this feature.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem: Many design tools like Figma have an option to configure element's stroke (border) position such as "inner", "outer" and "center". Currently, it's not possible to set border's position in CSS.
Solution: This can be achieved with
outline
andoutline-offset
.For example:
I can see that this might be implemented using a plugin but would you consider adding this feature in the future? Or at least using a variable for
outline-width
so it's easier for a plugin to implement this feature.Beta Was this translation helpful? Give feedback.
All reactions