forked from necolas/normalize.css
-
Notifications
You must be signed in to change notification settings - Fork 254
/
_embedded.scss
65 lines (54 loc) · 1014 Bytes
/
_embedded.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Embedded content
//
// Weight: 2
//
// Style guide: base.embedded
// Audio
//
// Style guide: base.embedded.audio
audio {
// Add the correct display in IE 9-.
display: inline-block;
}
// Add the correct display in iOS 4-7.
audio:not([controls]) {
display: none;
height: 0;
}
// Image
//
// An `<img>` element represents an image.
//
// Markup: embedded-img.twig
//
// Style guide: base.embedded.img
img {
// Remove the border on images inside links in IE 10-.
border-style: none;
}
img,
svg {
// Suppress the space beneath the baseline
// vertical-align: bottom;
// Responsive images
max-width: 100%;
height: auto;
}
// Scalable vector
//
// A `<svg>` element represents an image encoded as a Scalable Vector Graphic.
//
// Markup: embedded-svg.twig
//
// Style guide: base.embedded.svg
svg:not(:root) {
// Hide the overflow in IE.
overflow: hidden;
}
// Video
//
// Style guide: base.embedded.video
video {
// Add the correct display in IE 9-.
display: inline-block;
}