Module content

Source
Expand description

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

Class Properties
content-nonecontent: none;

§Note

The content utility must be used in combination with either the before or the after variant to work.

§Arbitrary values

Any property is allowed as arbitrary value. It is more over the only way of setting the content. For example, before:content-['Hello_world!'] or after:content-[url('foobar.png')].

Tailwind reference

OSZAR »