Last active
March 6, 2023 19:53
-
-
Save Ankhena/13c6fb690f94da738173f4e05112c582 to your computer and use it in GitHub Desktop.
Scroll search outline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
--out-width: 2px; | |
outline: var(--out-width) solid red; | |
outline-offset: calc(0px - var(--out-width)); | |
} | |
*::before, *::after { | |
outline: var(--out-width) solid lime; | |
outline-offset: calc(0px - var(--out-width)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
--out-width: 2px; | |
outline: var(--out-width) solid red; | |
outline-offset: calc(0px - var(--out-width)); | |
&::before, &::after { | |
outline: var(--out-width) solid lime; | |
outline-offset: calc(0px - var(--out-width)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment