Created
May 9, 2016 19:10
Star
You must be signed in to star a gist
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️
❤️💙💙💙💙💙❤️❤️💙❤️❤️❤️💙❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️💙❤️💙❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️❤️💙❤️❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️❤️💙❤️❤️❤️❤️
❤️❤️❤️💙❤️❤️❤️❤️💙❤️❤️❤️❤️❤️
❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️❤️