is this an error? because it says top-left and bottom-right to 8px and top-right and bottom-left to 10px, but it says my code is wrong and the answer is border-radius:8px 10px; but when you use just 2 values , the 1st value is for top right-left and the 2nd value for bottom right-left, isnt it?
It’s first top-left and bottom-right and second value top-right and bottom-left
you can see it here:
Yes, you are correct. When using two values for border-radius
, the first value is for the top-left and bottom-right corners, and the second value is for the top-right and bottom-left corners. Therefore, if the instructions specify to set the top-left and bottom-right to 8px, and the top-right and bottom-left to 10px, the correct syntax should be
— solution removed—
will apply a border radius of 8px to the top-left and bottom-right corners, and a border radius of 10px to the top-right and bottom-left corners. This will achieve the desired effect specified in the instructions.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
Thank you so much! I got confussed on the syntax, now i get it.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.