Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Border radius ugliness Reply To: [Solved] Border radius ugliness

#173013
MDMueller
Participant

I don’t know it, i may only guess:

The “overflow:hidden” red cuts off parts from the border of the .dialog-header (anti-aliasing) and therefore some color from the .dialog “leaks outside”.

You could try to avoid this by using a “hack” like this (to make sure the background of the .dialog-header is 1px larger)

.dialog {
  background-clip: content-box; 
  padding: 1px;
}