Sometimes, we want to change text transparency in CSS.
In this article, we’ll look at how to change text transparency in CSS.
How to change text transparency in CSS?
To change text transparency in CSS, we set the opacity
property.
For instance, we write
div {
opacity: 0.5;
}
to set the opacity
to 0.5 to make the div’s content translucent.
Conclusion
To change text transparency in CSS, we set the opacity
property.