Tag rule
How To Use Css View Transitions For Smooth Page And Element Animations
The View Transitions API animates between two states of a page, like a filter change or a navigation, with a smooth cross-fade by default. It replaces heavy JavaScript animation libraries.
How To Load Custom Fonts With Css @Font-Face And Font-Display
Hosting fonts on your own server is faster, avoids third party requests and helps with privacy rules. Use @font-face to register the font and font-display to control how text shows…
How To Use Css Nesting Without Sass
Native CSS nesting lets you write child rules inside their parent rule, just like Sass or Less, with no build step. It keeps related styles together and reduces repeated selectors.
How To Use Css @Layer To Control Specificity And Cascade Order
Cascade layers let you decide which group of styles wins, no matter how specific the selectors are. A rule in a later layer beats a rule in an earlier layer,…
How To Use Css Container Queries For Component-Based Responsive Design
Media queries react to the screen size. Container queries react to the size of a parent container, so a component adapts to the space it actually has. This is ideal…


