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
spiderfw-0.6.37 apps/core/components/public/bootstrap_3/scss/_responsive-embed.scss
lanes-0.1.8 client/lanes/styles/bootstrap/old/_responsive-embed.scss
spiderfw-0.6.35 apps/core/components/public/bootstrap_3/scss/_responsive-embed.scss
lanes-0.1.7 client/lanes/styles/bootstrap/old/_responsive-embed.scss
rails_admin-0.6.7 app/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss
agile-proxy-0.1.24 assets/ui/bower_components/bootstrap/less/responsive-embed.less
spiderfw-0.6.34 apps/core/components/public/bootstrap_3/scss/_responsive-embed.scss
agile-proxy-0.1.23 assets/ui/bower_components/bootstrap/less/responsive-embed.less
agile-proxy-0.1.22 assets/ui/bower_components/bootstrap/less/responsive-embed.less
agile-proxy-0.1.21 assets/ui/bower_components/bootstrap/less/responsive-embed.less
agile-proxy-0.1.20 assets/ui/bower_components/bootstrap/less/responsive-embed.less
agile-proxy-0.1.19 assets/ui/bower_components/bootstrap/less/responsive-embed.less
lanes-0.1.6 client/lanes/styles/bootstrap/old/_responsive-embed.scss
lanes-0.1.5 client/lanes/styles/bootstrap/old/_responsive-embed.scss
agile-proxy-0.1.18 assets/ui/bower_components/bootstrap/less/responsive-embed.less
agile-proxy-0.1.13 assets/ui/bower_components/bootstrap/less/responsive-embed.less
twitter-bootstrap-rails-3.2.1.rc1 vendor/toolkit/twitter/bootstrap/responsive-embed.less
lanes-0.1.2 client/lanes/styles/vendor/bootstrap/old/_responsive-embed.scss
assets-rails-0.1.1 vendor/assets/stylesheets/bootstrap/v3.2.0/_responsive-embed.scss
agile-proxy-0.1.12 assets/ui/bower_components/bootstrap/less/responsive-embed.less