We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc1b700 commit 182ba06Copy full SHA for 182ba06
1 file changed
src/styles/global.css
@@ -131,20 +131,13 @@ mark, strong {
131
}
132
133
article a {
134
- position: relative;
135
-
136
- &:hover:after {
137
- right: 0;
138
- }
139
140
- &:after {
141
- border-radius: 1em;
142
- border-top: .1em solid var(--color-blog-link);
143
- content: "";
144
- position: absolute;
145
- right: 100%;
146
- bottom: .14em;
147
- left: 0;
148
- transition: right .4s cubic-bezier(0,.5,0,1);
+ background-image: linear-gradient(var(--color-blog-link), var(--color-blog-link));
+ background-size: 0% .1em;
+ background-position: left bottom .14em;
+ background-repeat: no-repeat;
+ transition: background-size .4s cubic-bezier(0,.5,0,1);
+
+ &:hover {
+ background-size: 100% .1em;
149
150
0 commit comments