angular-aspect-ratio-container
v18.0.7
Published
Library to fix the aspect ratio of a container.
Downloads
9
Readme
Angular Aspect Ratio Container
Library to fix the aspect ratio of a container.
Example
<main style="width: 600px; height: 600px; display: flex; align-items: center">
<div [ngAspectRatio]="16 / 9" style="background-color: red">Hello</div>
</main>