Answer the question
In order to leave comments, you need to log in
How to make a selection of a menu item in the form of an inverted house?
Good day!
I've already broken my whole head: the designer drew the selection of the menu item as follows
. the cell size is not fixed, the image is used as the background. And on different menu items there are different degrees of creeping out:
What are the solutions so as not to lose quality and at the same time the height of the block does not jump? Thanks in advance
Answer the question
In order to leave comments, you need to log in
The background-size property will help you: 100% 100%; - the background is stretched over the container.
codepen.io/paulradzkov/pen/JdOBbg?editors=110
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question