Modern CSS

Modern CSS gives us a range of properties to achieve custom select styles that have a near-identical initial appearance.

Includes knowledge areas

Styled Component

Styled Components are one of the new ways to use CSS in modern JavaScript.

CSS Modules

They generate locally scoped class names that are easy to reason about, without introducing complex conventions.

Emotion

Emotion is a performant and flexible CSS-in-JS library. Building on many other CSS-in-JS libraries, it allows you to style apps quickly with string or object styles. It has predictable composition to avoid specificity issues with CSS. With source maps and labels, Emotion has a great developer experience and great performance with heavy caching in production.

CSS Preprocessors (Sass, PostCSS)

CSS preprocessors are scripting languages that extend the default capabilities of CSS. (Sass - CSS extension language. PostCSS is a software development tool that uses JavaScript-based plugins to automate routine CSS operations)

Is a part of:

Heading

HeadingHeading

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.