-1

I have found this template in codepen website and i just want to create the mega-menu following this template . however i don't know how to use SCSS is there a method to create a "mega-menu" using Css instead. i think that the code responsible for this is &:hover so is there any code like this in CSS ("note":"i don't want this code :hover

visit: https:// codepen. io/jayanudin/pen/groxYe?depth=everything&order=popularity&page=3&q=dropdown+hover&show_forks=false

1 Answers1

3

&:hover is just appending a :hover selector to the parent.

.parent {
    &:hover {}
}

Is the same as

.parent:hover {}
TazTheManiac
  • 392
  • 1
  • 8