Answer the question
In order to leave comments, you need to log in
CSS: how to fill sidebars with an image?
I draw a menu. I want it to end with a picture on the left and right of the rectangular div-block of the menu. Interested in 2 options:
1) The picture fills the edge inside the div block
2) The picture is “glued” to the left and right to the div block
Tell me how to implement this. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Why don't you consider the option with a border ? After all, it is very similar to dashed. Or am I missing something somewhere?
If they had thrown at least schematically, it would have been better.
1. Edge inside the block:
Menu
.menu {
background-image: url('yourimage.png');
background-repeat: repeat-y;
background-position: 0px 0px;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question