Answer the question
In order to leave comments, you need to log in
After to end of browser window without scrolling?
There is a long rectangular menu:
margin: 0px auto;
max-width:1200px;
.header_menu {
position: relative;
}
.header_menu::before {
content: "";
display: block;
height: 100%;
left: -300%;
position: absolute;
top: 0;
width: 300%;
background: #e0a40e;
z-index: 1;
}
.header_menu::after {
content: "";
display: block;
height: 100%;
right: -100%;
position: absolute;
top: 0;
width: 100%;
background: #000;
z-index: 1;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question