CSS Sass Basics Improve Your Workflow with Sass Write Nested Selectors

what is wrong?

It keeps telling me that the value for the color is wrong

style.scss
.banner {
  .icn {
    font-size: 1.25em;
    }
    &-success {
      color : green;
    }
  padding: 1em;
  background-color: lightgrey;
  .button {
    font-size: 1.5em;
    }
}

1 Answer

Oh I got it. I forgot to nest &-success inside .icn