SASS - Create Reusable CSS with Mixins

Tell us what’s happening:
Describe your issue in detail here.
it does not work when i run the code :frowning_face:
Your code so far

<style type='text/scss'>
@mixin border-radius($radius){ 
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  border-radius: $radius;


  #awesome {
    width: 150px;
    height: 150px;
    background-color: green;
@include border-radius(15px);
  }
</style>

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0

Challenge: SASS - Create Reusable CSS with Mixins

Link to the challenge:

read the console output…

Welcome to our community!

You have to close the ‘mixin’ group of css declarations with the right curly brace } after the #awesome selector.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.