this doesn’t seem like a time saver to me…what am i missing…??
do i need line 2 of my code? it passes test with or without it?
why would i not code the @include line as
@include $radius;
since $radius is the name of my variable…??
thnx
Your code so far
<style type='text/sass'>
$radius:border-radius(15px);
@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/67.0.3396.99 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/sass/create-reusable-css-with-mixins