Menu
×
×
Correct!
Exercise:We can set the transparence for the whole element, not only the background, by using which CSS property?
<style>
h1 {
background-color: rgb(255, 0, 0);
opacity: 0.3;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
Not CorrectClick here to try again. Correct!Next ❯<style> h1 { background-color: rgb(255, 0, 0);: 0.3; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <p>This is a paragraph</p> </body> |