Good question.
Basically this section shows you examples of how to deal with different browsers’ implementation of CSS features.
For a completely hypothetical example, let’s say that there people who decide what CSS is all about, make a new css rule “border: wavy” that is supposed to make a wavy line around elements if used. When the developers/programmers who make commercial browsers read this rule, they have to spend time to understand and implement the code for it. Maybe some of them may implement right away and others may take a year or two to get it working. So in the meantime, when you are creating your webpage, if you use this border: wavy rule then it won’t work on every user’s browser.
So what to do?
This is where the code you asked about comes it. You are essentially defining different behaviour depending on the detected browser (maybe wavy borders only work on safari for eg so you need to use a dotted border instead everywhere else)…
that’s fair.
Here are the instructions? Which one have you attempted?
Write a mixin for border-radius and give it a $radius parameter. It should use all the vendor prefixes from the example. Then use the border-radius mixin to give the #awesome element a border radius of 15px .
(show the code for what you have attempted or let us know if you need to understand something in the instructions)
1- is the spelling border-radius or boarder-radius?
2- does the css border property take all these values $x, $y, $blur, $c
or does it just need one variable (the radius)? (Try to recall how you would write a normal border: property in CSS)
Hint: a border example with a radius of 5px solid red would be
border: 5px solid red;
You may want to also confirm that you understand what the styling effect being requested is. (As if you understand it then you can check if you have accomplished it visually as well)
Your code is now syntactically correct but the test is probably not passing yet?
This is because when you first started this step you were given some code that targets #awesome already.
They expect you to use the given code to fulfill the challenge.
So try to reset the step to put the original code back in place.
The add the new mix in you created (you can copy it from here).
Then finally add a reference to it inside the #awesome selector given to you. (Do not create another one)