Tell us what’s happening:
I did what it says but I’m still getting the same error it says
HINT: You should not change the width
property. Use the min-width
property.
Here’s my code so far:
input[type="submit"] {
display: block;
min-width: 300px;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
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:
You deleted the width property. Deleting a property is an extreme version of modifying it.
Still says :
Hint: You should not change the width
property. Use the min-width
property.
Did you put the width property back as it was? What is your updated code?
I figured it out, I was suppose to add min-width:300px; not modify the current width.
input[type="submit"] {
display: block;
width: 60%;
margin: 1em auto;
height: 2em;
font-size: 1.1rem;
background-color: #3b3b4f;
border-color: white;
min-width: 300px;
}
1 Like
system
Closed
6
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.