Skip to content

Commit

Permalink
Give arbitrary elements access to image/ratio responsive classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rjv committed May 26, 2018
1 parent 6033a2c commit 5a382c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sass/elements/image.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ $dimensions: 16 24 32 48 64 96 128 !default
&.is-9by16,
&.is-1by2,
&.is-1by3
img
img,
.has-ratio
+overlay
height: 100%
width: 100%
Expand Down

0 comments on commit 5a382c9

Please sign in to comment.