how to make a transparent div? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to make a transparent div?

20th Jul 2016, 7:08 PM
rahul swami
rahul swami - avatar
4 Answers
+ 12
Use the hexadecimal Color values and rgba property as shown in the code. The last number can be between 0.1 and 1.0. https://code.sololearn.com/W939Sfgdzc7J/?ref=app
2nd Jan 2018, 3:05 AM
Sreelakshmy
Sreelakshmy  - avatar
+ 2
Use opacity property.
20th Jul 2016, 10:04 PM
ThreeG
ThreeG - avatar
+ 1
opacity: 0;
28th Jul 2016, 3:33 AM
Felipe Medeiros
Felipe Medeiros - avatar
0
A div is transparent. Unless you style it.
21st Jul 2016, 4:21 PM
ZinC
ZinC - avatar