Skip to content

Commit 424349d

Browse files
committed
Remove the gap between audio, canvas, iframes, images, videos and the bottom of their containers
see h5bp/html5-boilerplate#1613
1 parent 2ba1cfe commit 424349d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

assets/src/scss/components/_embedded-content.scss

+14
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,17 @@ svg:not(:root) { overflow: hidden; }
2323
img, object, embed, video {
2424
max-width: 100%;
2525
}
26+
27+
/**
28+
* Remove the gap between audio, canvas, iframes,
29+
* images, videos and the bottom of their containers:
30+
* https://github.com/h5bp/html5-boilerplate/issues/440
31+
*/
32+
audio,
33+
canvas,
34+
iframe,
35+
img,
36+
svg,
37+
video {
38+
vertical-align: middle;
39+
}

0 commit comments

Comments
 (0)