score:1

Accepted answer

i believe that your sass code is broken. you're missing a closing curly bracket. try this:

.my-page {
  &-link {
    font-weight: normal;
    color: green;

    &:hover {
      text-decoration: underline;
      font-weight: 500;
      color: #006cbc;
    }
  }
}

also you can use the sass playground to make sure that you get what you expect.

hope this helps :)


Related Query

More Query from same tag