![]() ![]() We’ve discussed this a bit already but it’s the device-pixel ratio we’re specifying here. ![]() Now when sizes has not been specified, it’s default value is always 100vw (100% of your device viewport). Now there’s another attribute which I’ve not discussed out there that works together with our sourceset. ![]() So we say when the width (w) of the screen is 1000px, load in that image. In this case, we’ve got an image with a width of 1000px. You can see that every line is made up out of a file you wish to load in and after that a space with the width of the image’ real size. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |