Do I write or ?
-
Hello!
I want to use the new picturefill method, but I’m confused when it comes to how I should write my HTML. Should I write e.g. <img srcset=”image1.png image2.png 2x”> or just the regular <img src=””> ?
Does the plugin then rewrite this automatically?I also want to know how I should write my retina CSS.
So far, I’ve done it manually by using @media query device-pixel-ratio.
The plugin doesn’t fix this automatically, right?I’m right in the middle of a big project atm so quick replies will be sincerely appreciated!
Thanks ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Do I write or ?’ is closed to new replies.