How i can set up separately the opacity of the background and the opacity of the font/text?


#1

Its for make a caption

i would do :

background-opacity: 0.5;
font-opacity: 0.75;

But this 2 properties dont exist :c

I try to create 2 paragraphs for overlay them but the second paragraph go below the first one :confused:


#2

Give your background an RGBA color and set the alpha to 0.5, and give the text an RGBA color with the alpha set to 0.75.


#3

ok i will try it tomorrow :wink:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.