tailwind media queries work ok above 1000px but when used for less than 1000px not work.
working ok for this code.
\<div className="flex max-\[1000px\]:hidden"\>
but not working when using following
\<div className="flex max-\[900px\]:hidden"\>
tailwind media queries work ok above 1000px but when used for less than 1000px not work.
working ok for this code.
\<div className="flex max-\[1000px\]:hidden"\>
but not working when using following
\<div className="flex max-\[900px\]:hidden"\>
Copyright © 2021 Jogjafile Inc.
If you want to specifically target screens with a maximum width of 1000 pixels, you would use the following:
another solution is that you should define your media query in Taiwind config. e.g