Examples
Image
This photo is more than 3000 pixels wide. The max-width set to 100% ensures it doesn't bleed off the viewport.

Previous
DebugNext
Type Scale
/*
IMAGES
*/
img { max-width: 100%; }
Images are set to have a max-width of 100% by default. Image width should be set by its container or by applying a max-width class to the image.
This photo is more than 3000 pixels wide. The max-width set to 100% ensures it doesn't bleed off the viewport.
/*
IMAGES
*/
img { max-width: 100%; }