Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (11 loc) · 353 Bytes

no-resize-image.md

File metadata and controls

22 lines (11 loc) · 353 Bytes

Resize of image in the browser (s47)

Rule Details

The file width and height should be adapted to the target size in the browser.

Examples of incorrect code for this rule:

<img src="data.png" style="width:450px;height: 250px">

Examples of correct code for this rule:

<img src="data.png" style="width:auto">