Screen Width
Learn how to manage the screen width using screens objects, min, and max values.
We'll cover the following...
The screens
object
The screens
object inside the key generates the breakpoints used for the responsive prefixes. The default looks like the one below:
module.exports = {
theme: {
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
}
}
}
We can modify this in many ways but note that we need to provide the entire range of sizes if we modify the ...