Trigger mobile nav with css

This commit is contained in:
Sam Carlton 2021-04-24 20:21:39 -05:00
parent 848023788c
commit 3bc5943028
2 changed files with 77 additions and 66 deletions

View file

@ -70,7 +70,6 @@ html {
margin: 0;
}
/**
* Here you would add any custom utilities you need that don't come out of the
* box with Tailwind.
@ -160,3 +159,15 @@ html {
background-position: -100% 0;
}
}
button:focus .parent-focus\:visible,
button:active .parent-focus\:visible {
display: block;
}
button:focus .parent-focus\:hidden,
button:active .parent-focus\:hidden {
display: none;
}