Prev Demo
CSS3
>
Opacity / Transparency
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> p { color: blue; opacity: 0.5; } div { background-color: red; opacity: 0.3; } b { color: brown; opacity: 1; } </style> <body> <p>This is 'P' element.</p> <div> This is 'DIV' element. </div> <b>This is Bold.</b> </body> </body> </html>
Note: We DO NOT save your trial code in our database.
Output