Step 40 Registration Form-Style.css sheet

Step 40

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.

guys i need help here am stuck.

.fieldset {
border: 0;
padding: 2rem 0rem;

this code is not passing kindly help guys.

In the padding: 2rem 0rem; the left-right value should be 0 and not 0rem

this is still not working

Here it is guys:

border: 0;
padding: 2rem 0;

this works thank you.

The padding property is a shorthand property for the following individual padding properties:

  • padding-top
  • padding-right
  • padding-bottom
  • padding-left

So, here is how it works:

If the padding property has four values:

  • padding: 25px 50px 75px 100px;
    • top padding is 25px
    • right padding is 50px
    • bottom padding is 75px
    • left padding is 100px
1 Like

What is rem actually? This is the first time I see this during the course

1 Like

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