style: add mask properties to icon class

This commit is contained in:
hypercross 2026-06-16 16:40:05 +08:00
parent a5021ff5b4
commit 771fe6a112
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ icon, pull, pull-2{
background-position: center;
background-repeat: no-repeat;
position: relative;
mask-image: var(--icon-src);
mask-size: contain;
mask-position: center;
mask-repeat: no-repeat;
}
icon.big{
width: 2em;