aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_embedded.scss
blob: cff161e868915948898cbc53d77f5d42eefe79e1 (plain)
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
/**
 * Embedded content
 */
.yvi {//youtube and vimeo iframe
  position: absolute;
  top: 0;
  left: 0
}
.yv {//youtube and vimeo div
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden
}
img,
video,
svg {
  max-width: 100%;
  height: auto;
}
embed,
iframe,
object {
  max-width: 100%;
}
iframe {
  border-style: none;
  width: 100%;
  height: 100%;
  border: 0;
  overflow: hidden;
}