/tailwind-rem-flexible

Flexible solution for tailwind.

Primary LanguageJavaScriptMIT LicenseMIT

tailwind-rem-flexible

Flexible solution for tailwind.

version license size download

installation

npm install @jswork/tailwind-rem-flexible

usage

<script>
window.__TW_REM_STD_WIDTH__ = 390;
window.__TW_REM_MAX_WIDTH__ = 1280;
</script>
<script src="https://unpkg.com/@jswork/tailwind-rem-flexible"></script>

types

/// <reference types="@jswork/tailwind-rem-flexible/global.d.ts" />

license

Code released under the MIT license.