← Tailwind CSS classes list

Tailwind CSS class: .container

<div class="container mx-auto bg-teal-400 h-16"></div>

Preview

CSS source

.container {
    width: 100%;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 768px
    }
}
@media (min-width: 1024px) {
    .container {
        max-width:1024px
    }
}
@media (min-width: 1280px) {
    .container {
        max-width:1280px
    }
}

More in Tailwind CSS Responsive