CSS to remove border from left, right

During development, it is useful to see the fieldset default borders. However, they make the content appear too separated.

Remove the border, and add 2rem of padding only to the top and bottom of each fieldset. Be sure to remove the padding from the left and right.

padding-top: 2rem;
padding-bottom: 2rem;
padding-left: 0;
padding-right: 0;

what is wrong with my code ?
can anyone give me hints ?

which fCC exercise/challenge is this? Please add a link to it for reference.

thank you so much for your response. BTW It already solved.

1 Like

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