Nearby lessons

51 of 61

📝 Tailwind CSS - Content

📖 Overview

The content utility controls the content of the CSS ::before and ::after pseudo-elements. Use it with the before: and after: variants.

📏 Content Utilities

Available utilities:

  • content-none - Sets content to none
  • content-['...'] - Sets custom text content
  • Use with before: and after: variants
🌀

tailwind Designer

Live Component Playground

html Source
Loading...
Built with Tailwind CSS • Instant Reflection

🧠 Test Your Knowledge

2 Questions

Progress: 0 / 2
Keep Going!Tailwind CSS - Background