stubs1974 Posted March 16, 2020 Share Posted March 16, 2020 Hi, I am trying to get the grey text in the black box and translucent overlay black box to be white, but I can't. Any ideas what I'm doing wrong? https://cscmp.org/sbox/rollover_test.aspx Thanks, Link to comment Share on other sites More sharing options...
Ingolme Posted March 17, 2020 Share Posted March 17, 2020 What code have you used? Setting the opacity of an element will change the opacity of the entire element, including its text. If you just want the background to be transparent, use an rgba() color as the background color. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now