0

The Tailwind docs clearly show how to set the opacity of a background colour but this does not seem to work when applying it to a background image. For example:

<div class="bg-home-page-image bg-opacity-25">

Doesn't seem to change the opacity of the example image here for me.

Is there a way to achieve this in Tailwind? Or would I need to create custom css like this solution

0 Answers0