CSS – Focus on not working for input and! Does nothing important

  • Home / Blog / CSS – Focus…

CSS – Focus on not working for input and! Does nothing important

I can’t get input: focus on working. I tried to pass the keyword but it still failed.

input {
width: 400px;
height: 35px;
margin-bottom: 10px;
padding: 10px 10px;
font-size: 16px;
}

input:focus {
    border: 1px solid #dd3333; 
}

Write a Comment

Your email address will not be published. Required fields are marked *

x