Can i add a drop shadow or dark stroke to text?

Q&A about the latest versions
Post Reply
panovrlover
Posts: 157
Joined: Thu Sep 17, 2009 7:39 pm

Hi all, just a quick one from me -

Can I add a drop shadow or a dark outline/stroke to text? Can I do this with CSS? I have some white text on a clear background, but it's getting lost on light backgrounds.

Thanks!
Moritz.s
Posts: 4
Joined: Tue Jun 16, 2020 2:58 pm

Hi,

just add css style to the text:

box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
panovrlover
Posts: 157
Joined: Thu Sep 17, 2009 7:39 pm

Thanks for the reply. Solved it by editing that css code to apply it to the text not the box.
Post Reply