Frame - CSS class

Can also be applied as as standalone CSS class.

Default

<div class="frame">
	<img src="/img/image.jpg" alt="Test." />
</div>
Test.

With CSS custom properties appiled

<div class="frame" style="--frame-ratio-height--component: 2; --frame-ratio-width--component: 8;">
	<img src="/img/image.jpg" alt="Test." />
</div>
Test.