Return some -webkit- prefixes for wider compatibility

It was too good to be true
This commit is contained in:
daudix
2024-10-02 04:20:10 +03:00
parent eae48b3762
commit 1e47460527
14 changed files with 126 additions and 38 deletions

View File

@ -1,7 +1,9 @@
a.external::after {
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2'/%3E%3C/svg%3E");
-webkit-mask-image: var(--icon);
display: inline-block;
opacity: var(--dim-opacity);
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' %3E%3Cpath d='m6 6 5-5M7 1h4v4M4 2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V8' style='fill:none;stroke:black;stroke-linejoin:round;stroke-linecap:round;stroke-width:2'/%3E%3C/svg%3E");
mask-image: var(--icon);
mask-size: cover;
margin-inline-start: 0.25rem;
background-color: currentColor;