×
×
Correct!
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);
@(7): 0.3;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<p>This is a paragraph</p>
</body>
<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! |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?