-webkit-border-radius acts differently from -moz-border-radius

后端 未结 1 524
暗喜
暗喜 2021-01-24 21:01

My website is showing up differently on Safari vs Firefox. I would like to have the CSS make it look the same on Safari. I know that I could use two div boxes, one for the out

相关标签:
1条回答
  • 2021-01-24 21:26

    This is a known bug in webkit browsers

    See this example

    So in short, yes, for now you have to wrap the image in a div. Sucks.

    See these bug reports:

    http://code.google.com/p/chromium/issues/detail?id=82417
    https://bugs.webkit.org/show_bug.cgi?id=30475

    For now, wrap it in a div, as I have done here

    0 讨论(0)
提交回复
热议问题