Tell us what’s happening:
input[type=“submit”] {
display: block;
width: 60%;
margin: 1em 0 1em 0;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f ;
border-color: white;
min-width:300px;
}
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Challenge: Step 54
Link to the challenge:
diwakarreddychiru777:
margin: 1em 0 1em 0;
The left and right margin should be auto.
Tip: When your top and bottom margin values are same and the left and right values are also the same, but the top&bottom is different from left&right you can use margin: top-bottom left-right. Example: margin: 10px 0; Here 10px is for the top and bottom and 0 is for left and right
still can’t pass the step
it’s showing " You should use the existing margin property to include 1em on the top and bottom."
You have to make sure the top and the bottom margins are 1em and the left and the right margins are auto
system
Closed
November 25, 2022, 8:54pm
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.