be-spaceless
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

be-spaceless

Sizes the inner content to fit into the outer container, preserving aspect ratio.

be-spaceless might be unnecessary once container queries are a thing.

For now:

<div style="display:grid;height:300px;width:200px;overflow:hidden">
    <xtal-link-preview href="https://onsen.io/" be-spaceless></xtal-link-preview>
</div>

/be-spaceless/

    Package Sidebar

    Install

    npm i be-spaceless

    Weekly Downloads

    0

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    7.92 kB

    Total Files

    8

    Last publish

    Collaborators

    • bahrus