score:1

Accepted answer

You need to define the #container and #container2 width's in your CSS file, then it should works correct. Here is the code, and example:

#container {
  width: 100%
}
#container2 {
  width: 100%
}

Live example: https://codepen.io/anon/pen/XBGOgK

Kind regards!


Related Query

More Query from same tag