Navbar toggler without has or JS
I have this navbar toggler was working on today. Is there a way to make it without :has() or JS without compromising anything else?
https://codepen.io/myntsu/pen/vYrOjVo
https://codepen.io/myntsu/pen/vYrOjVo
~.navbar:has(#checkbox[name="checkbox"]:checked) .navbar-items { }#checkbox[name="checkbox"]:checked ~ .navbar-items { }#checkbox:checked ~ .navbar-items { }