Answer the question
In order to leave comments, you need to log in
How to rewrite code in less?
I don’t remember where, but I uploaded a link to a beautiful underline - codepen.io/ghepting/pen/tLnHK
But I myself can hardly rewrite everything to less, also finding a replacement for the compass functions.
Can you help me figure it out?
Well, since I got in, I can’t figure out how else to make a fallback to a normal underline for older browsers.
Answer the question
In order to leave comments, you need to log in
All the salt is in these two lines:
text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 2px, #333333 2px, #333333 3px, rgba(0, 0, 0, 0) 3px);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question