Sha256: ca767590895216af631f9623df26a5fd0ff84ab499ab04c85c48096583bc81d3

Contents?: true

Size: 555 Bytes

Versions: 129

Compression:

Stored size: 555 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 {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 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

129 entries across 128 versions & 22 rubygems

Version Path
twbs_sass_rails-0.7.2 vendor/assets/stylesheets/twbs/bootstrap/_responsive-embed.scss
less-rails-bootstrap-3.2.0 app/frameworks/twitter/bootstrap/responsive-embed.less
twbs_less_rails-2.11.1 vendor/assets/stylesheets/twbs/bootstrap/responsive-embed.less
twbs_sass_rails-0.7.1 vendor/assets/stylesheets/twbs/bootstrap/_responsive-embed.scss
bootstrap-on-rails-3.2.0 app/assets/stylesheets/bootstrap/responsive-embed.less
twitter-bootswatch-rails-3.2.0.0 vendor/toolkit/twitter/bootstrap/responsive-embed.less
twbs_sass_rails-0.7.0 vendor/assets/stylesheets/twbs/bootstrap/_responsive-embed.scss
aerogel-bootstrap-0.2.2 assets/stylesheets/bootstrap/_responsive-embed.scss
bootstrap-sass-3.1.1.1 vendor/assets/stylesheets/bootstrap/_responsive-embed.scss