Techniques

This collection of styling techniques goes beyond the limits of what CSS can do. This list attempts to expose the most useful ways JavaScript can be used to extendCSS, and to explain the parts required to use each technique.

Most of the code samples used in these pages will require the use of one of the Plugins from the Plugins section, but all of these techniques can also be built from scratch using JavaScript.

Scoped Styles

Element Queries & Container Queries

Extending CSS Selectors

Environment-based Styling