style: add mask properties to icon class
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user