According to the below screenshot picture, Tailwind css library offer 6 breakpoints for default, sm, md, lg, xl, 2xl screen sizes.
I want two breakpoints. by default the .container
css class will have 100% width and then when the screen size is more then 1280px, the width will be fixed 1280px.
I can create css rule in my css file, however, since Tailwind offer tailwind.config.js
file to change styles, I want to do it from the js file.
How can I set responsive breakpoints for .container
css class using tailwind.config.js
file?