Skip to content

Commit 649d404

Browse files
committed
Fix hvrOutlineIn border animation
1 parent b9353d9 commit 649d404

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/transitions/BorderTransitions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,21 @@ const borderTransitions = {
212212
-webkit-transition-property: top, right, bottom, left;
213213
transition-property: top, right, bottom, left;
214214
}
215-
&:hover {
215+
&:hover:before {
216216
top: -8px;
217217
right: -8px;
218218
bottom: -8px;
219219
left: -8px;
220220
opacity: 1;
221221
}
222-
&:focus {
222+
&:focus:before {
223223
top: -8px;
224224
right: -8px;
225225
bottom: -8px;
226226
left: -8px;
227227
opacity: 1;
228228
}
229-
&:active {
229+
&:active:before {
230230
top: -8px;
231231
right: -8px;
232232
bottom: -8px;

0 commit comments

Comments
 (0)