Skip to content

Instantly share code, notes, and snippets.

View drivelous's full-sized avatar
🔈
https://www.youtube.com/watch?v=j5hdgys4a-M

Sean D. drivelous

🔈
https://www.youtube.com/watch?v=j5hdgys4a-M
View GitHub Profile
@cvan
cvan / tailwind.config.js
Last active July 5, 2024 10:46
tailwind CSS breakpoints (including iPhone 11 Pro Max)
// References used:
// - https://yesviz.com/devices.php
// - https://ricostacruz.com/til/css-media-query-breakpoints
// - https://tailwindcss.com/docs/responsive-design/#customizing-breakpoints
screens: {
'2xs': { min: '300px' },
xs: { max: '575px' }, // Mobile (iPhone 3 - iPhone XS Max).
sm: { min: '576px', max: '897px' }, // Mobile (matches max: iPhone 11 Pro Max landscape @ 896px).
md: { min: '898px', max: '1199px' }, // Tablet (matches max: iPad Pro @ 1112px).
lg: { min: '1200px' }, // Desktop smallest.