CSS Sass Basics Improve Your Workflow with Sass Use the Ampersand to Reference Parent Selectors

Gerald Susanteo
seal-mask
.a{fill-rule:evenodd;}techdegree
Gerald Susanteo
Front End Web Development Techdegree Student 7,117 Points

My buttons don't have the hover effect

I don't know what the mistake or problem is in my code, I did the exact same thing what guil told me to do but there's no hovering effect to the buttons.

http://w.trhou.se/r4sxlyot82 <- my workspace

1 Answer

Hey Gerald,

I looked at your code inside style.scss file and I found out that you are missing $ sign before color-secondary, and I believe that's why you cannot see the hover effect.

It should look like this:

a {
  color: $color-primary;
  text-decoration: none;
  &:hover {
    color: $color-secondary;
    }
}

Hope this helps!!