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
Picnic CSS uses a neat trick to avoid having to specify explicit colours for elements that change on hover (see also the docs). Basically, you use an inset box shadow with a partial transparency value.
This way, I could include natuive css as-is and just specify my own palette where I want, and the overlays will just work.
The text was updated successfully, but these errors were encountered:
naasking
changed the title
Hover overlays
:hover and :active as overlays
Feb 28, 2017
Picnic CSS uses a neat trick to avoid having to specify explicit colours for elements that change on hover (see also the docs). Basically, you use an inset box shadow with a partial transparency value.
This way, I could include natuive css as-is and just specify my own palette where I want, and the overlays will just work.
The text was updated successfully, but these errors were encountered: