![Šime “I'm on Mastodon” Vidas on X: "@JoshWComeau There's a way to avoid the border radius calculation: Outer: * inset white box-shadow * overflow: hidden Inner: * remove border radius * z-index: - Šime “I'm on Mastodon” Vidas on X: "@JoshWComeau There's a way to avoid the border radius calculation: Outer: * inset white box-shadow * overflow: hidden Inner: * remove border radius * z-index: -](https://pbs.twimg.com/media/ErwJaa6W8AAIcPh.jpg:large)
Šime “I'm on Mastodon” Vidas on X: "@JoshWComeau There's a way to avoid the border radius calculation: Outer: * inset white box-shadow * overflow: hidden Inner: * remove border radius * z-index: -
![Ghost white lines around border-radius / box-shadow? - HTML & CSS - SitePoint Forums | Web Development & Design Community Ghost white lines around border-radius / box-shadow? - HTML & CSS - SitePoint Forums | Web Development & Design Community](https://global.discourse-cdn.com/sitepoint/optimized/3X/f/b/fb5e11ddec8efa259243c1699113f940f9316f2c_2_548x500.jpeg)
Ghost white lines around border-radius / box-shadow? - HTML & CSS - SitePoint Forums | Web Development & Design Community
![Re: [css3-background] box-shadow spread radius and rounded corners from Brendan Kenny on 2010-05-17 (www-style@w3.org from May 2010) Re: [css3-background] box-shadow spread radius and rounded corners from Brendan Kenny on 2010-05-17 (www-style@w3.org from May 2010)](http://extremelysatisfactorytotalitarianism.com/w3style/deep_box_shadow.png)