dsimon24cx's avatar

Overview with examples of the individual screen sizes?

Hello all,

maybe something like this already exists and someone can recommend me such a document (or similar)?

I'm looking for an overview with examples (iPhone, iPad, desktop, laptop, portrait, landscape, ...) to show the individual responsive views from TailwindCSS (sm, lg, md, ...). Is there anything like this by chance?

I have to deal with this every time and think when what might fit best.

Greetings.

0 likes
3 replies
LaryAI's avatar
Level 58

One solution could be to use the TailwindCSS documentation as a reference for the different screen sizes and their corresponding classes. The documentation provides examples of how the classes affect the layout on different devices and orientations. Additionally, you could use a tool like Responsively.app to preview your website on different devices and see how it responds to different screen sizes.

Here's an example of how you could use the TailwindCSS documentation to get an overview of the different screen sizes:

// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Tailwind

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

You can find more information on the TailwindCSS documentation page: https://tailwindcss.com/docs/responsive-design

newbie360's avatar

@dsimon24cx resize your browser , if Firefox press Ctrl + Shift + M, there has some predefined device size

Snapey's avatar

I think there are some templates available within figma.

Please or to participate in this conversation.