CSS

Primo puts the 'cascade' back into Cascading Style Sheets and makes it easy to write styles that only affect what they're meant to.

Styling Component Blocks

Component Blocks have their styles scoped by default (thanks to Svelte), so any CSS you write for a component will apply only to it.

Styling Content Blocks

Unlike Component Blocks, which are styled individually, Content Blocks are styled from either the Page or Site CSS screen using the primo-content class, which every Content Block has.

Last updated