Text is a little difficult to read on my current website -- I'd like to add a semi-transparent black box around my text area. Is there anyway to do this?
Here's a rough example of what I want to do:
Thanks!
Put it in a div
container and give that div a background-color: rgba(0,0,0,0.7);
. 0.7
being the opacity.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.