Home › Forums › CSS › [Solved] Extending div background-color to fill gutter › Reply To: [Solved] Extending div background-color to fill gutter
April 8, 2014 at 4:33 pm
#167859
captainill
Participant
Without getting into the html structure I’ll add that the initial solution did not work in firefox. The browser width expanded in consequence to the width of the absolutely positioned content in the :before pseudo selector.
I went with boxshadow which is ‘update #2’ in the posting I linked to.
my css:
::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: -9999px;
right: 0;
box-shadow: 9999px 0 0 white;
}