VOOZH about

URL: https://www.geeksforgeeks.org/css/tailwind-css-divide-opacity/

⇱ Tailwind CSS Divide Opacity - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tailwind CSS Divide Opacity

Last Updated : 23 Jul, 2025

This class accepts lots of value in tailwind CSS in which all the properties are covered in class form. By using this class we can set the opacity of any divide. In CSS, we do that by using the CSS Opacity property.

Divide Opacity Classes:

  • divide-opacity-0: Control the opacity of an element’s placeholder color using the divide-opacity-{amount} utilities.

Note: The number of the opacity can be changeable from 0 to 100 with the span of 5.

Syntax:

<element class="divide-{opacity}">...</element>

Example:

Output: 

👁 Image
Divide Opacity Class
Comment