Himas Rafeek
Posted on: 1 year ago

Spot unsized images during development

                                          Here’s a tip for catching unsized images during development. Add this CSS rule somewhere in your stylesheet: img:not([width]):not([height]) {
    border: 2px solid red !important;
Then any images without width and height attributes will be drawn with a red border so they’re easy to spot. Found via 37signals