gal-s
10/24/2018 - 7:05 AM

bootstrap - responseive containers with different widths

How can I make responseive conatiner in bootstrap that in smartphone will be be full width and in pc will be 70% width? https://getbootstrap.com/docs/4.1/layout/overview/#responsive-breakpoints

.container-custom {
  width: 100%;
} 
@media (min-width: 992px) {
  .container-custom {
    width: 70%;
  }
}