@diddledan/proportional-height-box
Version:
Web component to resize child element to proportional height based on the width similar to fitvids
16 lines • 435 B
HTML
<html>
<head>
<meta charset="utf-8">
<script src="../../@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script type="module">
// import "web-component-tester/browser.js";
WCT.loadSuites([
'proportional-height-box_test.html',
]);
</script>
</body>
</html>