Sass Mixin declaeration

Tell us what’s happening:

Your code so far


<style type='text/scss'>
@mixin border-radius($radius) {
  box-shadow: (0px, 0px, 4px, #fff);
}


#awesome {
  @include border-radius
  width: 150px;
  height: 150px;
  background-color: green;

}
</style>

<div id="awesome"></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36.

Challenge: Create Reusable CSS with Mixins

Link to the challenge:

Hi. It looks like you forgot to ‘tell us what’s happening’. What would you like help with?

I am trying to declare the mixin, and use it, so the syntax messes me up

1 Like

I’m having this trouble too.