I am trying to position submenu div and a banner made from a background.
The problem is they are not filling width of screen.There are small white spaces on left and right sides.
Also in my real app,submenu div is appearing after a button click,so it must push below element down.I mean i can achieve 100% width if i make submenu absolute position,but then below banner div is not pushed down.
Here is the codepen with minimized problem:
https://codepen.io/anon/pen/roEQqo
Gif for better explanation:
https://i.imgur.com/TvPDHyE.gifv