Sha256: e20da59e1926eec852400592932fc1e5446753188dd6862b4405293c65133c59
Contents?: true
Size: 765 Bytes
Versions: 124
Compression:
Stored size: 765 Bytes
Contents
/*------------------------------------*\ #IMAGES \*------------------------------------*/ /** * 1. Makes all images fluid, helping responsiveness * 2. Visually offsets the `alt` text that is displayed if the image fails to * load. * 3. Removes white-space from the bottom of images. Safer solution to the usual * `display: block;` fix. */ img { max-width: 100%; /* [1] */ font-style: italic; /* [2] */ vertical-align: middle; /* [3] */ } /** * 1. Google Maps hates being told what to do. Remove the max width if an image * exists within Google's styling pattern. * 2. If an image explicitly defines a width or height attribute, honor it. */ .gm-style img, /* [1] */ img[width], img[height] { /* [2] */ max-width: none; }
Version data entries
124 entries across 124 versions & 2 rubygems