Skip to content

Commit

Permalink
[refs #3] Add images elements docs content
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Heibült committed Feb 22, 2018
1 parent 8e19c60 commit 85596f5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _docs/elements/images.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ filename: "_elements.images.scss"

{% include file-info.html %}

Images
By including the `_elements.images.scss` file, you make your images fluid by default, i.e. they shrink in size as the viewport gets smaller.

However, if your images have explicitly assigned a `width` or `height` attribute, they keep their initial size (i.e. defined by their `width` and/or `height` attribute). If you don't have any control over these attributes (e.g. when they get generated by a CMS), but still want your images to be fluid, you can set the `$inuit-static-images` flag to `false`:

```scss
$inuit-static-images: false !default;
```

0 comments on commit 85596f5

Please sign in to comment.