README
375to320
If the screen width of the device is less than 375px (e.g. 320px), this script will fix viewport width to 375px.
Install
npm install --save 375to320
Usage
import '375to320'
or
<script src="path/to/375to320.min.js"></script>
If the screen width of the device is less than 375px (e.g. 320px), this script will fix viewport width to 375px.
<script type="module">
import 75to320 from 'https://cdn.skypack.dev/375to320';
</script>
If the screen width of the device is less than 375px (e.g. 320px), this script will fix viewport width to 375px.
npm install --save 375to320
import '375to320'
or
<script src="path/to/375to320.min.js"></script>