Opacity background and text say <p>

when i am writing text.

etc. how do i it’s background’s opacity?

thanks!!

Convenient enough, there is an opacity attribute in CSS. It takes a number between 0 and 1, with 0 being completely transparent and 1 being completely opaque:

<p style="opacity: .5;"> This text is 50% transparent </p>

Modzilla web docs is an excellent place to look at web documentation. Here is their article on opacity:

1 Like