Does anyone finds interesting this script? In order to pack it and upload it to Git 🙂

It does 2 checks:

  1. If the device screen size is lower than 320x480px (portrait) it shows the message.

  2. If the device screen size is lower than 480x320px (landscape) it shows the message.

  • Custom minimum screen sizes (width & height) can be given as custom error messages.

  • It also checks at the end of each window resizing event.

  • Uses fontAwesome-5 (for the smiley) and flex for centering content.

Post image

Screenshot 1



Source link

Write A Comment