@kemet/kemet-ratio
v1.0.0
Published
Displays a box given an aspect ratio. Especially useful for embeds.
Downloads
4
Readme
<kemet-ratio>
Installation
npm i @kemet/kemet-ratio
Usage
import '@kemet/kemet-ratio/kemet-ratio.js';
<kemet-ratio>
<iframe width="100%" height="100%" title="Kemet Templates" src="https://stackblitz.com/edit/kemet-templates?embed=1&file=index.html"></iframe>
</kemet-ratio>
Click here for more docs.