Today I Learned - Rocky Kev

TIL LVHA in link order

POSTED ON:

TAGS:

The popular acronym, LVHA may be of help. LVHA, kinda like LoVe HAte!

Link, Visited, Hover, Active

a:link {color: blue;}
a:visited {color: purple;}
a:hover {color: red;}
a:active {color: yellow;}

via https://css-tricks.com/snippets/css/link-pseudo-classes-in-order/


Related TILs

Tagged:

TIL the alternate keyword

If 'alternate' appears along with the stylesheet keyword, the linked file is an alternative stylesheet. It won’t be applied to the document, but it will be ready for when we need it.

TIL Logical Properties

For that sweet sweet Internationalization you want to avoid directional words like 'left', 'right', 'top', and 'bottom'.

TIL Using pseudo-classes in your querySelector!

let notTuna = document.querySelectorAll('.sandwich:not(.tuna)')