Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Safari border-radius + overflow: hidden + CSS transform fix
// Add on element with overflow
-webkit-mask-image: -webkit-radial-gradient(white, black);
@JoseCrz
Copy link

JoseCrz commented Nov 4, 2021

❤️

@simonlayfield
Copy link

simonlayfield commented Nov 4, 2021

❤️

@theogjini
Copy link

theogjini commented Nov 4, 2021

💙❤️💚🖤🤍💜

@junhan-z
Copy link

junhan-z commented Nov 11, 2021

Thanks.

@imhuynq
Copy link

imhuynq commented Nov 16, 2021

thank you so much <3

@imhuynq
Copy link

imhuynq commented Nov 16, 2021

thank you so much <3

@mariomc
Copy link

mariomc commented Nov 16, 2021

Thank you!

@ag-coder
Copy link

ag-coder commented Nov 16, 2021

🙏🏻

@gioedge
Copy link

gioedge commented Nov 17, 2021

<3

@pandaTerminator
Copy link

pandaTerminator commented Nov 18, 2021

❤️

@nazarmiller
Copy link

nazarmiller commented Nov 20, 2021

=*

@qzerrty
Copy link

qzerrty commented Dec 1, 2021

@ekhasanov
Copy link

ekhasanov commented Dec 2, 2021

You saved my day! ❤️

@dunice
Copy link

dunice commented Dec 2, 2021

❤️

@phamminhduc209
Copy link

phamminhduc209 commented Dec 3, 2021

@ml350
Copy link

ml350 commented Dec 9, 2021

❤️

@ahmadajmi
Copy link

ahmadajmi commented Dec 21, 2021

Thank you!

@rahulsuresh-git
Copy link

rahulsuresh-git commented Jan 14, 2022

❤️

@nitin7dc
Copy link

nitin7dc commented Jan 20, 2022

❤️

@sMarthz
Copy link

sMarthz commented Jan 25, 2022

❤️

@FinnMal
Copy link

FinnMal commented Feb 2, 2022

Thanks!

@julianbenegas
Copy link

julianbenegas commented Feb 16, 2022

❤️

@cheestudio
Copy link

cheestudio commented Feb 24, 2022

@elvinn thanks for the explanation. I was able to just use the position:relative approach, which is much cleaner. I really appreciate the explanation, too. Now the fix makes all the sense in the world.

Still, stupid Safari is the only browser that needs this fix in the first place.

@FerFuego
Copy link

FerFuego commented Mar 7, 2022

The Best!

@NobleTruths
Copy link

NobleTruths commented Mar 9, 2022

This solved the problem I've been struggling with for the past few hours. Thank you!

@surenshanaka
Copy link

surenshanaka commented May 7, 2022

Legend!

@enBonnet
Copy link

enBonnet commented Jun 2, 2022

OMG! Thank you!

@saulosilverio
Copy link

saulosilverio commented Jun 7, 2022

Thanks! :)

@chetansanghani
Copy link

chetansanghani commented Jun 16, 2022

Thanks

@sjbur
Copy link

sjbur commented Jun 25, 2022

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment