Question: Modify the second in egypt.html to use the srcset and sizes attributes. The srcset attribute should indicate the image names and associated sizes: luxor _
Modify the second in egypt.html to use the srcset and sizes attributes.
The srcset attribute should indicate the image names and associated sizes:
luxorjpg is pixels wide
luxorjpg is pixels wide
luxorjpg is pixels wide
The sizes attribute should describe the image size requirements for various viewport widths:
When the viewport width is at least px wide, the image width should be px
When the viewport width is at least px wide, the image width should be px
The default image width should be px
Resizing the browser width should cause the three different images to display at the and breakpoints.
Art direction for different viewport widths points
Add tags around the third in egypt.html Then add the appropriate tag inside so hotelwide.jpg is displayed instead of hotelnarrow.jpg when the viewport width is at least px wide.
Resizing the browser should display hotelnarrow.jpg when the viewport width is px wide and hotelwide.jpg otherwise.
SVG image for list background points
Modify styles.css so check.svg is displayed centered in the background of the unordered list. Set the following CSS properties:
backgroundimage should display check.svg
backgroundrepeat should be norepeat
backgroundposition should be center
backgroundsize should be vw
Resizing the browser width should cause the check.svg image to grow and shrink.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
