Y
Y
Yaroslav IKARUS2015-11-03 17:12:23
css
Yaroslav IKARUS, 2015-11-03 17:12:23

Why does border-radius work incorrectly (cut corners)?

5b8b371376.jpg
Let's look at the screenshot.
I deliberately made the border-radius bigger for clarity. For some reason, it cuts corners (makes them white), while right on the same site in the same menu there are elements that are displayed as they should - without the cropping effect (marked with a green arrow).
I have been tormenting myself with this menu for an hour, but I still have not learned the nature of this phenomenon.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-11-03
@yar-ikarus

Add to the container overflow: hiddenbecause nested elements have a background color.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question