Layout Tricks: Breakout Images

Themeco on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design6 min

About this video

Shows how to let an image break out of a constrained row container to fill the screen edge, using a short custom CSS snippet with viewport units and a media query. Aimed at designers who already build layouts in WordPress or CSS.

What you’ll learn

  • Apply a viewport-width calc to extend a background image beyond its container
  • Alternate image breakouts left and right across the rows of a page
  • Adjust the breakout offset to account for the row's gap