Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

color: transparent is not working in Internet Explorer

Tags:

html

css

color: transparent is working in Firefox, but it's not working in Internet Explorer. What else I can use to make the font color transparent?

like image 508
piku Avatar asked Dec 09 '22 15:12

piku


2 Answers

According to CSS spec the color property doesn't have transparent value defined, so IE behavior is correct. If you want to have invisible element, use visibility: hidden.

like image 108
Rafael Avatar answered Dec 14 '22 23:12

Rafael


Use

rgba(112, 112, 112, 0.5)

where 0.5 is opacity level instead of

#hexcodes
like image 21
sHaRkBoY Avatar answered Dec 15 '22 00:12

sHaRkBoY