Q:

How to set .input[type=text] just for one textbox

So I am working on a project and i animated a search textbox as shown here: 

input[type=text] {
  width: 130px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  background-image: url('searchicon.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
  height: 30px;
}

input[type=text]:focus {
  width: 700px;
}
<input type="text" name="search" placeholder="Search..">

Everything is working fine but now I have a problem, I have more textboxes on the same page and I don´t want them to be animated as this one, because the input[type=text] is changing them all.  Any help will be appreciated a lot.  

A:

You need to change your css selector to be more specific instead of just input[type=text] to maybe input[name=search]

