Tidy up pseudo-element references

This commit is contained in:
Angelos Chalaris
2022-11-05 13:01:58 +02:00
parent 38468678f5
commit 20100fd229
19 changed files with 56 additions and 56 deletions

View File

@ -38,7 +38,7 @@ A hover effect where the gradient follows the mouse cursor.
position: relative;
}
.mouse-cursor-gradient-tracking:before {
.mouse-cursor-gradient-tracking::before {
--size: 0;
content: '';
position: absolute;
@ -51,7 +51,7 @@ A hover effect where the gradient follows the mouse cursor.
transition: width 0.2s ease, height 0.2s ease;
}
.mouse-cursor-gradient-tracking:hover:before {
.mouse-cursor-gradient-tracking:hover::before {
--size: 200px;
}
```