I added a custom breakpoint ('mymd': '962px') and now the breakpoints with lower widths are not functioning properly
tailwind.config.js
module.exports = {
purge: [],
darkMode: 'media', // or 'media' or 'class'
theme: {
screens: {
'sm': '640px',
'md': '768px',
'mymd': '962px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
},
variants: {
extend: {},
},
plugins: [
],
}
html
<div class="sm:bg-red-900
md:bg-yellow-900
mymd:bg-gray-900
lg:bg-green-900
xl:bg-blue-900
2xl:bg-indigo-900
h-screen w-full">
The 2xl, xl, lg, and mymd breakpoints are working fine, but md and sm are not
img - https://ibb.co/D4x3vF8