6
CSS question: I don't understand image sizes! Maybe not as stupid a question as it initially appears?
(self.no_stupid_questions)
This is a place where you can ask any programming / topic related to the instance questions you want!
For a more general version of this concept check out [email protected]
Icon base by Lorc under CC BY 3.0 with modifications to add a gradient
Sorry, I think I forgot to ask the actual question.
What's the deal? Am I misunderstanding something? Or is it backwards / unintuitive / fundamentally flawed?
I don't have much experience using srcset but since you are still waiting for an answer... I'll point you to what is stated in MDN's docs.
According to that, you use a "media condition" when the image is displayed in different sizes. Their example
And you use 1x, 2x, etc (like your examples) when the image will occupy the same physical size.