Skip to main content

Content

Utilities for controlling the content of the before and after pseudo-elements.

CSS Property:content
Classes:1

Content Classes

ClassCSS
content-nonecontent: none;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[content:value]

Responsive Variants

Apply content utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:content-none
768px+md:md:content-none
1024px+lg:lg:content-none
1280px+xl:xl:content-none
1536px+2xl:2xl:content-none