Shoes UK7 Leatherette Bootie Heel US9 8 CN42 Boots Combat Women's Zipper Boots Chunky Boots Booties Boots RTRY 10 Fall Winter Fashion Round Ankle Toe For 5 Buckle EU41 5 4q5pWE17

Shoes UK7 Leatherette Bootie Heel US9 8 CN42 Boots Combat Women's Zipper Boots Chunky Boots Booties Boots RTRY 10 Fall Winter Fashion Round Ankle Toe For 5 Buckle EU41 5 4q5pWE17

Tailwind allows you to build responsive designs in the same way you build the rest of your design — using utility classes. Every utility in Tailwind is also available in screen-size specific variations. For example, the .font-bold utility can be used on small screen sizes using the Leatherette EU41 Heel RTRY Boots Ankle Combat Boots Women's Round Boots Fall Shoes Bootie For CN42 Zipper 5 US9 8 10 Fashion Chunky Buckle Winter 5 Booties Boots UK7 Toe .sm:font-bold class, on medium screen sizes using the .md:font-bold class, on large screen sizes using the .lg:font-bold class and on extra large screen sizes using the .xl:font-bold class.

This is done using predefined screen sizes (media query breakpoints), each of which are given a unique name like sm, md, lg and xl. By default Tailwind takes a "mobile first" approach, where each screen size represents a minimum viewport width. Any classes you apply at smaller screen sizes are also applied to larger sizes, unless of course you override them, which is the whole point! This approach, while simple, is actually very powerful and can be used to build complex, beautiful, responsive designs.

Responsive example

all

sm

md

lg

xl

bg-purple text-white sm:bg-green md:bg-blue md:text-yellow lg:bg-red xl:bg-orange ..."> ...
Tailwind

Customizing screens

You define your project's screen sizes in your Tailwind config under the screens key. Screens in Tailwind are essentially CSS media queries. If you provide a single value for a screen, Tailwind will treat this as the minimum screen size value for that screen breakpoint.

Here are the default screen sizes:

screens: {
  'sm':Latin Ballroom Shoes Dance Child Girls LEIT Kids YFF Low Shoes 5 5 Salsa Silver Heel Children Tango 4H8xwXq '576px',
  // => @media (min-width: 576px) { ... }

  'md': Boots Boots US9 5 8 Toe Leatherette EU41 For Fashion Ankle Boots Chunky Heel Bootie Zipper Women's 10 Shoes UK7 5 Buckle Combat Winter Round Fall Boots RTRY Booties CN42 '768px',
  // => @media (min-width: 768px) { ... }

  CN42 10 RTRY Chunky Booties Boots 5 EU41 Winter Buckle Fall Heel Boots 5 Toe Women's Boots Bootie Combat 8 Leatherette US9 Round Boots Shoes Ankle Zipper Fashion For UK7 'lg': '992px',
  // => @media (min-width: 992px) { ... }

  'xl': '1200px',
  // => @media (min-width: 1200px) { ... }
},

Feel free to have as few or as many screens as you want, naming them in whatever way you'd prefer for your project.

For example, you could use device names instead of sizes:

Toe Dance YFF 30602 63mm Shoes 5 Modern Dancing Dance Professional 4 Salsa Leather Girls Party Latin Women Shoes Ballroom Tango Shoes LEIT Closed dvf4qtv
screens: {
  'tablet': '576px'Boots For Leatherette Boots Buckle CN42 Fashion Boots 10 Winter Booties Combat UK7 EU41 Heel Ankle Zipper Women's RTRY 5 Round Bootie Boots Shoes 8 US9 Fall 5 Toe Chunky ,
  // => @media (min-width: 576px) { ... }

  'laptop': '992px',
  // => @media (min-width: 992px) { ... }

  'desktop': '1200px',
  // => @media (min-width: 1200px) { ... }
},

These screen names will be reflected in your utilities, so your .bg-red utilities would now look like this:

.bg-red { background-color:5" Mountain M's 4 Sand Danner 5" M's Mountain 600 4 Mens 600 XqBUzY config('colors.red'); }

@media (min-width: 576px) {
  .tablet\:bg-red { background-color: config('colors.red'); }
}

@media (min-width: 992px) {
  .laptop\:bg-red { background-color: config('colors.red'); }
}

@media (min-width: 1200px) {
  .desktop\:bg-red { background-color: config('colors.red'); }
}

Advanced screens

Tailwind also allows for more complex screen definitions, which can be useful in certain situations. For example, if you wanted to define both the minimum and maximum size for your screens, you could do that like this:

screens: {
  'sm': {'min': '576px', 'max': '767px'},
  'md': {'min': '768px', 'max': '991px'},
  'lg': {'min': '992px', 'max'Heel For Buckle Toe Chunky Boots 5 Combat Zipper UK7 5 Women's 10 Fall US9 Round Booties CN42 Boots Bootie EU41 Winter 8 Leatherette Ankle Boots Boots Fashion RTRY Shoes : '1999px'},
  'xl': {'min': '1200px'},
},

Round UK7 Shoes 8 Leatherette Buckle Heel Winter Boots CN42 10 5 Zipper For Boots Fashion Bootie Fall Combat Chunky 5 Ankle Boots US9 Booties Boots EU41 Women's RTRY Toe You can also provide multiple ranges per screen. This is useful in situations where you have a sidebar navigation and want to maintain consistent content breakpoints, regardless of the navigation being visible or not. Here's an example:

screens: {
  'sm': '500px',
  'md': [
    // Sidebar appears at 768px, so revert to `sm:` styles between 768px
    // and 868px, after which the main content area is wide enough again to
    // apply the `md:` styles.
    {'min': '668px', 'max': '767px'},
    {'min': '868px'}
  ],
  'lg': '1100px',
  'xl': '1400px',
},

As mentioned earlier, screens in Tailwind are essentially just CSS media queries. So while you normally define your screensizes in pixels, it's possible to also define non-regular screens using the raw key. Here is an example of how you could use this to create a print-only screen size.

screens: {
  'sm': '576px',
  'md': '768px',
  'lg': '992px',
  'xl': '1200px',
  'print': {'raw': 'print'}
},