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

Configure Feed

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

at c8a1c25a4d2b98fd3fc010436ffef36ee07f589a 18 lines 584 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 z-index: 1000; 10 background-color: var(--dc-bg-2); 11 } 12 @supports (backdrop-filter: blur(24px)) { 13 header { 14 backdrop-filter: blur(24px); 15 background: none; 16 } 17 } 18}