SASS - Create Reusable CSS with Mixins

Tell us what’s happening:
Describe your issue in detail here.
help me stuck here
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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.50

Challenge: SASS - Create Reusable CSS with Mixins

Link to the challenge:

Only two little issues with your code.
You’re missing a closing curly bracket.
Your @include directive should not have a space between the property and the parentheses which hold the value.

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