How to fix it?


Need help :slight_smile:
How to fix it?

@mixin dashed-border($width, $color: #FFF) {
  border: {
     color: $color;
     width: $width;
     style: dashed;

span { //only passes non-default argument
    @include dashed-border(3px);

p { //passes both arguments
    @include dashed-border(3px, green);

div { //passes out of order but explicitly defined
   @include dashed-border(color: purple, width: 5px); 

5. Mixin Facts

Start by scrolling down to the instructions. This is the example given in the lesson.


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