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

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

Thu Jan 14, 2021 11:38 am

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

Fri Jan 15, 2021 1:16 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: 137
Joined: Thu Sep 17, 2009 7:39 pm

Fri Jan 15, 2021 5:12 pm

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