cyntler / hamburger-react

Animated hamburger menu icons for React.js weighs only 1.5 KB.
https://hamburger-react.netlify.app
MIT License
963 stars 36 forks source link

How can I give it custom styling specifically `z-index : 2`? #57

Closed souravdewett closed 2 years ago

luukdv commented 2 years ago

Hey! You can do this in two ways:

.hamburger-react { z-index: 2 }
<div style={{ zIndex: 2 }}><Hamburger /></div>