responsive sizes with imager plugin
This is all pretty well documented here: Creating Optimized Images in Craft CMS

But if you need general help on srcset and &lt;picture&gt; elements check out Responsive Images Done Right: A Guide To  And srcset and Don’t use  (most of the time)