This seems to work perfectly for me when testing on codepen. Can you check how your stylesheet is connected in your HTML document, as in this piece of code.
But the burger icon is not appearing although I’ve tried creating burger from span and I tags
Comments
Comment posted by jsfiddle.net/ho8z9s0p
it seems to work fine:
Comment posted by kushagra-aa
hey rory thanks for responding, but my stylesheet is connected correctly, the other pieces of code seems to work properly only this button code is not working,
Comment posted by Rory L
Hmm. Try this as a last resort then. Edited my above answer
Comment posted by kushagra-aa
not working buddy;)
Comment posted by Rory L
Ah crud. If you have this committed to a github repo I’d be happy to take a look. I’m really stumped at why this doesn’t work, and I have a feeling it could be a small typo somewhere rather than a big problem.
Comment posted by kushagra-aa
i have its old version that was not responsive,I haven’t committed the new one yet as it is unstable