Sha256: c1e23ec140b17f1f778eab8bc512a40552986ed1c2afc24a97efaf05ceec9b17

Contents?: true

Size: 601 Bytes

Versions: 36

Compression:

Stored size: 601 Bytes

Contents

// 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;
  }
}

.embed-responsive-21by9 {
  padding-bottom: percentage(9 / 21);
}

.embed-responsive-16by9 {
  padding-bottom: percentage(9 / 16);
}

.embed-responsive-4by3 {
  padding-bottom: percentage(3 / 4);
}

.embed-responsive-1by1 {
  padding-bottom: percentage(1 / 1);
}

Version data entries

36 entries across 36 versions & 5 rubygems

Version Path
geekyll-0.1.2 _sass/geekyll/bootstrap4alpha4/_responsive-embed.scss
solidus_backend-2.1.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-2.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-1.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-1.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-2.0.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-1.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-2.1.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-2.1.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-2.0.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
on-standards-rails-2.0.0.pre.alpha.2 vendor/assets/stylesheets/on-standards/_responsive-embed.scss
solidus_backend-2.1.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
on-standards-rails-2.0.0.pre.alpha.1 vendor/assets/stylesheets/on-standards/_responsive-embed.scss
on-standards-rails-2.0.0.pre.alpha vendor/assets/stylesheets/on-standards/_responsive-embed.scss
geekyll-0.1.1 _sass/geekyll/bootstrap4alpha4/_responsive-embed.scss
bootstrap-4.0.0.alpha5 assets/stylesheets/bootstrap/_responsive-embed.scss
geekyll-0.1.0 _sass/geekyll/bootstrap4alpha4/_responsive-embed.scss
geekyll-0.0.9 _sass/geekyll/bootstrap4alpha4/_responsive-embed.scss
solidus_backend-2.0.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss
solidus_backend-1.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_responsive-embed.scss