Force Safari to Respect Border Radius on Images & Videos
Safari will often not respect border radiuses on images and videos. With this CSS code snippet you can force Safari to respect border radius on images and videos on your Webflow site.
Safari will often not respect border radiuses on images and videos. With this CSS code snippet you can force Safari to respect border radius on images and videos on your Webflow site.
How to add it
- Add CSS code snippet via an HTML embed or to the head section of your page custom code section.
The code
CSS
<!-- Add to HTML embed or head page settings -->
<style>
.your-class {-webkit-mask-image: -webkit-radial-gradient(white, black);}
</style>