Currently I am building a small website for a friend and incorporating the :has
pseudo class. However, Firefox does not support this feature by default, unless manually enabled. Are there any workarounds available in this case?
I am creating a hamburger menu without relying on JavaScript since 80% of the target audience disables it. After watching a tutorial from Web Dev Simplified, I considered using input["checkbox"]
, but the absence of the :has
pseudo class is proving to be a challenge.
My attempt involved utilizing input:checked::before
for adjusting the top bar and input:checked::after
for the bottom bar rotation upon click, however, the results were less than desirable!