0

I am looking for a way to isolate css media queries specifically for a reactive design to a div.

screen size is large:

div //(width of phone)
 --div className="bg-red-600 w-full lg:bg-blue-600 "  
                  make div red because the div is the size of phone
/div

I tried to find something online but couldn't find anything

Nemus
  • 3,879
  • 12
  • 38
  • 57
  • You'll be very excited when Container Queries become available, but for now you'll need to work with media queries, use width and height to start with and design mobile first. – Nathaniel Flick Jan 17 '23 at 22:42

0 Answers0