Sha256: d0ade0dc1b2e495bfaf844d885be49ddcfe15db9f55e9a8cfe80e28573218130

Contents?: true

Size: 546 Bytes

Versions: 182

Compression:

Stored size: 546 Bytes

Contents

// Embeds responsive
//
// Credit: Nicolas Gallagher and SUIT CSS.

.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;

  .embed-responsive-item,
  iframe,
  embed,
  object,
  video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

// Modifier class for 16:9 aspect ratio
.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}

// Modifier class for 4:3 aspect ratio
.embed-responsive-4by3 {
  padding-bottom: 75%;
}

Version data entries

182 entries across 96 versions & 8 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
entreprise7pro-bootstrap-sass-3.4.7 assets/stylesheets/bootstrap/_responsive-embed.scss
entreprise7pro-bootstrap-sass-3.4.6 assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/bootstrap/less/responsive-embed.less