@suitcss' components-flex-embed
npm install totem-flex-embedinuitcss plugin based on @suitcss' components-flex-embed
- npm : npm install --save totem-flex-embed
- bower : bower install --save totem-flex-embed
- o-flex-embed
- o-flex-embed__ratio
- o-flex-embed__ratio--3by1
- o-flex-embed__ratio--2by1
- o-flex-embed__ratio--16by6
- o-flex-embed__ratio--4by3
Basic exemple
``html`
Custom aspect ratio using CSS
`css`
.o-flex-embed__ratio--4by1 {
padding-bottom: 25%;
}
Custom aspect ratio using inline style
`html``