Customise Websites for Different Screen Sizes the Easy Way
February 9, 2024•71 words
Many websites have left-aligned design and don't look nice on large display, eg home desktop display for gaming.
How to customise it with just a single CSS line
- Install Stylus extension
- Open the site
- Create CSS for the site using Stylus
- eg. body { padding-left:200px; }
- Align it to centre or from around 25vw should be nice
- Add padding-right also if the UI is shifted.