where did the container
go in v4?
#14801
Replies: 3 comments 7 replies
-
There is an open issue regarding this, see #13129. Also of note, there was a PR to add it into v4, but was closed without merge with reasoning at #13391 (comment). As an aside, |
Beta Was this translation helpful? Give feedback.
-
Hi @MrOxMasTer , In Tailwind CSS v4, the concept of the Here's how you can define a container in your theme: {
container: {
center: true,
padding: {
DEFAULT: '0.5rem',
sm: '0.5rem',
mm: '1rem',
mt: '4rem',
md: '5rem',
},
},
} You can still use the Let me know if you have any further questions! Thanks . |
Beta Was this translation helpful? Give feedback.
-
Could someone clarify how to disable |
Beta Was this translation helpful? Give feedback.
-
where did the
container
go in v4? Or has it been replaced by the CSS container@container
?theme: {
container: {
center: true,
padding: {
DEFAULT: '0.5rem',
sm: '0.5rem',
mm: '1rem',
mt: '4rem',
md: '5rem',
},
},
}
Beta Was this translation helpful? Give feedback.
All reactions