Nice SCSS underline without breaking the underline from the typography... (edit: fixed smaller text-shadow bug :P)
@pirrera Wow this is pretty hot
I like this a lot, it's much better than my usual absolute positioned element::before work-around. Handy mixin, I'll definitely steal this.
@maxinacube - thank you, use it all you want (i'd love to see it live)
@nickcil + @michaellee thanks guys! :)
If only this was the default. Here's a good article about how medium.com improved the underline styling: https://medium.com/designing-medium/crafting-link-underlines-on-medium-7c03a9274f9 They did quite a lot of research.
@nicklassandell thanks, where does he get the time to do that research? :D
@pirrera Don't know, but it sure looks fun!
Hi, @pirrera, I forked it to be used without compass Sass and the result is equally nice.
Thank you very much! :clap:
Ha! Just yesterday I was trying to figure out how to style underlines with different colours and lay it behind the text. Surprised me it wasn't actually possible with font-style: underline! The general consensus was to use a bottom border which is pretty ugly.
Can I ask why you used div instead of span for the underlined text? I'm a bit new and have a hard time choosing, sometimes.
Hi. I'm learning about using SCSS by forking your pen. Thanks for making this. However, had one doubt. In the linear gradient line, shouldn't the first term be 'to top' instead of top?
Need to know how to enable it? Go here.