Հեղինակ
Վիդեոկուրսեր
Առաջարկել
Խորհուրդ եմ տալիս
Կոդ
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Էջի վերնագիր</title> <style> div { background-color: red; opacity: 0.5; } </style> </head> <body> <div>This element's opacity is 0.5! Note that both the text and the background-color are affected by the opacity level!</div> </body> </html>
Արդյունք