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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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; : ; }

5th Jun 2017, 10:30 PM
karim Saou
karim Saou - avatar
12 Answers
+ 4
#element { background-image: url ('test.jpg'); background-size : 100px 100px; opacity : 0.5 ; }
13th Oct 2017, 5:32 AM
Thembelani Shezi
Thembelani Shezi - avatar
0
#element { background-image: url ('test.jpg'); background-size : 100px 100px; opacity : 0.5 ; }
1st Feb 2018, 6:08 AM
Nikhil Makwana
Nikhil Makwana - avatar
0
#element { background-image: url ('test.jpg'); background-size : 100px 100px; opacity : 0.5 ; }
6th Apr 2018, 3:47 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
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.
21st Nov 2019, 5:51 PM
Edwin Mendoza Rodríguez
Edwin Mendoza Rodríguez - avatar
0
Gae
14th Jan 2020, 10:40 PM
Taylor Zavala Franco
Taylor Zavala Franco - avatar
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); }
7th May 2020, 5:46 AM
AMINE ABERCHANE
AMINE ABERCHANE - avatar
0
#element { background-image: ('test.jpg'); background-size: 100px 100px; opacity: 0.5; }
30th Sep 2021, 11:35 AM
Dilip Vishwakarma
Dilip Vishwakarma - avatar
- 1
wtf
3rd Jun 2019, 7:12 PM
Saad Nssiri
Saad Nssiri - avatar
- 1
# element { background-image;url[test.jpg] background-size;100px 100px opacity;0.5;
28th Nov 2019, 12:32 PM
Chidinma Akuegbu
Chidinma Akuegbu - avatar
- 1
#element { background-image: url('test.jpg'); background-size: 100px 100px; opacity: 0.5; }
13th Aug 2020, 3:54 PM
Bahodirov Akbarjon
- 10
Drag and drop from the options below to apply 50% opacity to the div, and make it also work in IE:
13th Nov 2018, 6:31 AM
Riyan Mehmood
Riyan Mehmood - avatar