Skip to content

scale-fixed ​

Fixes the global scale of elements so they do not scale with the viewport.

Install Plugin ​

You need to install the scale-fixed plugin to use it. Visit Github repository.

sh
npm install @leafer-in/scale-fixed
sh
pnpm add @leafer-in/scale-fixed
sh
yarn add @leafer-in/scale-fixed
sh
bun add @leafer-in/scale-fixed

Or include via script tag and access plugin features through the global variable LeaferIN.scaleFixed.

html
<script src="https://unpkg.com/@leafer-in/scale-fixed@2.3.1/dist/scale-fixed.min.js"></script>
html
<script src="https://unpkg.com/@leafer-in/scale-fixed@2.3.1/dist/scale-fixed.js"></script>

Next Steps ​

scaleFixed Property ​

Released under the MIT License.