lightweight, simple, classless CSS framework inspired by new.css devcss.devins.page
framework lightweight css classless stylesheet
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cb1d672029a22b8b2f90a5053ebe7c1a0f11c6f4 17 lines 567 B view raw
1/* header-sticky for dev.css v4, a lightweight CSS framework - https://github.com/intergrav/dev.css */ 2/* about: makes the header sticky (when vh>24rem/vw>16rem). useful if the user needs to access nav often */ 3/* note: large sticky headers are bad for usability. too large? try header-oneline addon */ 4 5@media only screen and (min-height: 24rem) and (min-width: 16rem) { 6 header { 7 position: sticky; 8 top: 0; 9 background-color: var(--dc-bg-2); 10 } 11 @supports (backdrop-filter: blur(24px)) { 12 header { 13 backdrop-filter: blur(24px); 14 background: none; 15 } 16 } 17}