mirror of
https://github.com/NickKaramoff/shareon
synced 2025-03-12 17:30:13 +01:00
Use masks to be able to change colour
This commit is contained in:
parent
ec7053f0a1
commit
9e77d44440
@ -44,11 +44,10 @@
|
||||
height: var(--shareon-size);
|
||||
width: var(--shareon-size);
|
||||
|
||||
background-image: var(--shareon-svg);
|
||||
background-repeat: no-repeat;
|
||||
background-size: var(--shareon-size) var(--shareon-size);
|
||||
background-color: currentColor;
|
||||
mask: no-repeat center / 100%;
|
||||
mask-image: var(--shareon-svg);
|
||||
content: "";
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.shareon > .copy-url {
|
||||
|
Loading…
x
Reference in New Issue
Block a user