style: add mask properties to icon class
This commit is contained in:
parent
a5021ff5b4
commit
771fe6a112
|
|
@ -13,6 +13,10 @@ icon, pull, pull-2{
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
mask-image: var(--icon-src);
|
||||||
|
mask-size: contain;
|
||||||
|
mask-position: center;
|
||||||
|
mask-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
icon.big{
|
icon.big{
|
||||||
width: 2em;
|
width: 2em;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue