The Container element is used for organizing content neatly toward the center of your web page. By placing content inside a container, it automatically becomes responsive, adapting to different screen sizes, unless you set a fixed width. Containers are often used within Sections (which are, by default, full-width) to align the content towards the center.
To add a Container element to your web page, follow these simple steps:
If you want to change the default container width and make it wider, you can do that in simply two steps:
Containers are full-width for mobile devices. So if you want to add some breathing space at the edge, you can add padding to the left and right.
To do this:
To reuse a container with the same styling, add a class to the container and apply that class to other containers within your project:
You can also style the Container for breakpoints larger than the default. If you want your Container width to be more appropriately sized for larger displays - you can do that in 4 steps:
📝 Note: Make sure to switch back to the base breakpoint when you continue to design your project.
By default, Containers and Sections are Divs with special properties.
Was this page helpful?
Our website uses cookies to improve your browsing experience on our website. By continuing to use this website, you agree to their use. For details, please check our Privacy Policy.
Experience Droip in Action – Explore a live-built page and see the power of our builder in action.
Explore Live