4 ms·
The author did a great job on that article. But please stop it with the 768px nonsense already. It makes no sense at all and is unnecessarily complicated. The b
by rado 3y ago
The author did a great job on that article. But please stop it with the 768px nonsense already. It makes no sense at all and is unnecessarily complicated. The breakpoints should be 600px, 900px etc https://www.freecodecamp.org/news/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862/ https://www.freecodecamp.org/news/the-100-correct-way-to-do-...
- ehnto 3y agoIndeed, the mythical Standard Tablet Size doesn't exist, none of the device psuedo standard sizes are actually standard. Devices come in myriad sizes, and resized browser windows come in many more (even on mobile devices) The most pragmatic solution in my opinion, pick a handful of major layout shift points and fix the layout when it breaks as you resize it, not based on an imaginary universal device size.
- itsuka 3y agoI personally prefer sizes that are multiple of 8 because it works well with grid-based layouts and popular CSS libraries and design tools like Tailwind and Figma also adopt this system, although not strictly. However, I agree with your general sentiment that the exact number does not matter much. It will matter less even more when Container Queries become a common practice.
- deleted 3y ago[deleted]