Sha256: 8b82ecbeba0c75bd945a76d798f3dfbb5df0862e2c19259694024ff98847d07a

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

// iframes
// https://benmarshall.me/responsive-iframes/

.intrinsic-container {
  position: relative;
  height: 0;
  overflow: hidden;
}

/* 16x9 Aspect Ratio */
.intrinsic-container-16x9 {
  padding-bottom: 56.25%;
}

/* 4x3 Aspect Ratio */
.intrinsic-container-4x3 {
  padding-bottom: 75%;
}

.intrinsic-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
crowdai_admin-1.0.2 app/assets/stylesheets/crowdai_admin/components/_iframes.scss
crowdai_admin-1.0.1 app/assets/stylesheets/crowdai_admin/components/_iframes.scss
crowdai_admin-1.0.0 app/assets/stylesheets/crowdai_admin/components/_iframes.scss