Created
May 9, 2016 19:10
-
-
Save ayamflow/b602ab436ac9f05660d9c15190f4fd7b to your computer and use it in GitHub Desktop.
Safari border-radius + overflow: hidden + CSS transform fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add on element with overflow | |
-webkit-mask-image: -webkit-radial-gradient(white, black); |
❤️❤️❤️❤️
❤️
🙏
this solution seems to help to a degree. It makes the line slightly thinner but I'm still seeing a border with overflow hidden.
div {
position:relative;
width:200;
height:200;
background: #781728;
border-radius: 100%;
overflow: hidden;
-webkit-mask-image: -webkit-radial-gradient(#6CB3A9, #6CB3A9);
top:40;
left:90}
Awesome!
Thanks!
❤️
How can I buy you a beer!?
Thank you! Also works for me in Chrome.
Thanks a lot man...
Not all heroes wear capes
isolation: isolate;
fixes this issue. isolation property works in all browsers.
Demo: https://codepen.io/thebazel/pen/NWeYgRm
We're in July 2024 and this is still the only solution that worked for me.. Thank you!
isolation: isolate;
worked for me. Thanks! ❤️
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
❤️💙💙💙💙💙❤️❤️💙❤️❤️❤️💙❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️💙❤️💙❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️❤️💙❤️❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️💙❤️❤️❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️💙❤️❤️❤️❤️❤️
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️