Skip to content

Commit f8d5503

Browse files
committed
Safari-compatible implementation
1 parent 1f8aeeb commit f8d5503

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

pages/_wiki/lug/services/index.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,16 @@ permalink: /wiki/lug/services/
5959
transition: color 500ms ease-in-out;
6060
overflow: hidden;
6161
}
62-
#s-tier .s::after::marker { content: "S"; color: blueviolet; }
63-
#s-tier .s::after {
64-
content: "S";
65-
color: orangered;
66-
transform-origin: left;
67-
display: list-item;
68-
list-style-position: inside;
69-
}
70-
#s-tier .s::after::marker,
7162
#s-tier .s::after {
63+
content: "SS";
64+
color: transparent;
65+
background: linear-gradient(to right, blueviolet 0 50%, orangered 50% 100%);
66+
-webkit-background-clip: text;
67+
background-clip: text;
7268
max-width: 0;
7369
transition: all 500ms ease-in-out;
7470
transform: scale(0, 1);
71+
transform-origin: left;
7572
}
7673

7774
#s-tier:hover .s { color: gold; }

0 commit comments

Comments
 (0)