I have created a hamburger menu in CSS. I want to do two things:
- When a user clicks on it, create bootstrap like border (light colored) as shown in figure below.
- Invert colors when user clicks/hovers on hamburger i.e. change my hamburger border to black, background to white and inner divs to follow same pattern. For this I added a css
:hover, but don't know how to do that for child elements to follow parent.
.hamburger:hover {
background-color: whitesmoke;
}
