Other Features
At the end of the day, the bulk of CSS is made up not of sexy, fancy features like Grid or animations; but of small, often niche properties that may at first seem useless, but then end up one day saving you dozens of hours of work.
CSS variables and support queries fit in that category: they'll take a little while to grow on you, but once you grasp their full potential you'll wonder how you ever managed without them.
Usage Overview
The size of the outer circle corresponds to the total number of users who know about a feature, while the inner one represents those who have actually used it.
Hover on each node to view detailed data along with an overlay representing the total number of survey respondents.
Usage by Years Of Experience
The “overall” column shows overall usage for each feature (respondents who selected “have used it”), while the following columns show the usage ratio for each “years of experience” bracket.
A brighter pink background indicates a higher-than-overall-average ratio for a given bracket.
Variables
CSS Custom Properties for Cascading Variables is a CSS module that allows for the creation of custom properties that can be used over and over.
Learn More
@supports
The @supports
CSS at-rule lets you specify declarations that depend on a browser's support for one or more specific CSS features. This is called a feature query. The rule may be placed at the top level of your code or nested inside any other conditional group at-rule.
Learn More
Contain
The contain
CSS property allows an author to indicate that an element and its contents are, as much as possible, independent of the rest of the document tree. This allows the browser to recalculate layout, style, paint, size, or any combination of them for a limited area of the DOM and not the entire page, leading to obvious performance benefits.
Learn More
will-change
The will-change
CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed.
Learn More
calc()
The calc()
CSS function lets you perform calculations when specifying CSS property values. It can be used anywhere a <length>
, <frequency>
, <angle>
, <time>
, <percentage>
, <number>
, or <integer>
is allowed.