+ 1
Fill in the blanks to make the background image of the element 100 x 100 pixels in size. Also, set the opacity of the element to
#element { background-image: ('test.jpg'); background- : 100px 100px; : ; }
12 Respuestas
+ 4
#element {
background-image: url ('test.jpg');
background-size : 100px 100px;
opacity : 0.5 ;
}
0
#element {
background-image: url ('test.jpg');
background-size : 100px 100px;
opacity : 0.5 ;
}
0
#element {
background-image: url ('test.jpg');
background-size : 100px 100px;
opacity : 0.5 ;
}
0
Fill in the blanks to add two background images to the element, with the first positioned at the top left corner, and the other at the top right corner.
0
Gae
0
Drag and drop from the options below to apply 50% opacity to the div, and make it also work in IE:
div {
opacity: 0.5;
filter:alpha(opacity=50);
}
0
#element {
background-image: ('test.jpg');
background-size: 100px 100px;
opacity: 0.5;
}
- 1
Please consider having a look at these links:
https://www.w3schools.com/css/css_background.asp
https://www.w3schools.com/cssref/css3_pr_background-size.asp
https://www.w3schools.com/css/css3_colors.asp
- 1
wtf
- 1
# element {
background-image;url[test.jpg]
background-size;100px 100px
opacity;0.5;
- 1
#element {
background-image: url('test.jpg');
background-size: 100px 100px;
opacity: 0.5;
}
- 10
Drag and drop from the options below to apply 50% opacity to the div, and make it also work in IE: