![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Create a transparent box with CSS
To create a transparent box with CSS, you can try to run the following code
Example
<!DOCTYPE html> <html> <head> <style> div { background-color: #808000; padding: 20px; } div.myopacity { opacity: 0.4; filter: alpha(opacity=80); } </style> </head> <body> <h1>Heading</h1> <p>Check trensparency in the below box:</p> <div class = "myopacity"> <p>opacity 0.4</p> </div> <div> <p>opacity 1</p> </div> </body> </html>
Advertisements