
layouts
CSS Grid Generator
Visually build CSS grid layouts and export production-ready code.
#grid#layout#responsive
@scope lets you contain a style rule to a specific subtree, with an optional lower boundary that excludes a nested portion of it entirely — solving the classic problem of a component's styles leaking into embedded or user-generated content nested inside it. Toggle between plain CSS and @scope on the live demo to see the difference, then copy the generated rule.
The element that establishes the scoped subtree.
Excludes a nested subtree from the scope — e.g. stop a card's styles from reaching into embedded third-party or user-generated content inside it.
Card's own text
Only the card's own text is styled — the .embed boundary keeps the rule from reaching its content.
The selector that starts the scoped subtree, e.g. .card.
Exclude a nested wrapper (like embedded or third-party content) from the scope.
Switch between plain CSS and @scope to see exactly which elements get styled.
Copy the @scope rule into your stylesheet.
From our directory of 30+ CSS tools.
Know a great CSS tool?
Submit it to the directory and help developers discover it.