Relative Content

Tag Archive for htmlcssbootstrap-4

Expanding container width to full page

Coding newbie here. I’m working on an existing template and am trying to adjust a container width and background together. However, I can only seem to get the correct full width but with no coloured background, or a container in the correct background colour but with gaps at the side?!

CSS-only Solution to Align Button-Collapse Behavior

I have arranged two (actually several) buttons next to each other in a Bootstrap template. When a button is pressed, a collapse opens below it. I have demonstrated the desired behavior in the first line with button Collapse 1 and 2.