+ 9

How to properly make a text half transparent with a full color background/padding?

I want to add a half transparent text with a white padding into the middle of an image. What is the BEST way to do that?

15th Feb 2019, 9:56 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
6 ответов
+ 7
https://code.sololearn.com/WC81vs9acgyu/?ref=app Something like this , but only the text to be transparent , and not the background color.
15th Feb 2019, 11:41 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 3
By increasing opacity
15th Feb 2019, 10:01 AM
Aditya Kannojia
Aditya Kannojia - avatar
16th Feb 2019, 4:30 AM
Aditya Kannojia
Aditya Kannojia - avatar
15th Feb 2019, 10:09 AM
Aditya Kannojia
Aditya Kannojia - avatar
+ 1
https://code.sololearn.com/Wff5Z52XDDTS/?ref=app The same code with lower opacity
15th Feb 2019, 10:12 AM
Aditya Kannojia
Aditya Kannojia - avatar
15th Feb 2019, 10:25 AM
Aditya Kannojia
Aditya Kannojia - avatar