30秒学会 CSS 片段 – Custom text selection
Changes the styling of text selection. ::selection defines a pseudo selector on an element to style ...
Changes the styling of text selection. ::selection defines a pseudo selector on an element to style ...
Creates a toggle switch with CSS only. This effect is styling only the <label> element to look...
Resets the box-model so that width and height are not affected by border or padding. box-sizing: bor...
Adds a fading gradient to an overflowing element to better indicate there is more content to be scro...
Variables that can be reused for transition-timing-function properties, more powerful than the built...
The :fullscreen CSS pseudo-element represents an element that’s displayed when the browser is ...
Counters are, in essence, variables maintained by CSS whose values may be incremented by CSS rules t...
Creates a staggered animation for the elements of a list. Set the opacity to 0 and transform to tran...
Creates an effect where text appears to be "etched" or engraved into the background. text-...
Reveals an interactive popout menu on hover and focus. position: relative on the reference parent es...