1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-06 22:15:23 +02:00

Firefox mask-box-image fix

This commit is contained in:
Tanya Fomina 2022-06-21 17:42:11 +08:00
parent fdc2c3da80
commit 14b6fe0c0c
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,6 @@
cursor: pointer;
transition-property: background-color;
transition-duration: 0.1s;
border-radius: 8px;
@apply --squircle;

View file

@ -74,6 +74,8 @@
}
--squircle {
border-radius: 8px;
@supports(-webkit-mask-box-image: url('')){
border-radius: 0;
-webkit-mask-box-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10.3872C0 1.83334 1.83334 0 10.3872 0H13.6128C22.1667 0 24 1.83334 24 10.3872V13.6128C24 22.1667 22.1667 24 13.6128 24H10.3872C1.83334 24 0 22.1667 0 13.6128V10.3872Z' fill='black'/%3E%3C/svg%3E%0A") 48% 41% 37.9% 53.3%;;