A better image reset for your CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI11 min

About this video

Kevin Powell looks at why a common CSS image reset might also include properties such as background-size, font-style and shape-margin. The video suits developers and designers who already write CSS for responsive images.

What you’ll learn

  • Apply max-width and display rules to make images responsive
  • Choose vertical-align and height settings that prevent image layout issues
  • Use background-size and background-repeat in an image reset