Answers for "how to select input field in css"

CSS
21

how to write css for input type text

/* For Example, If we want to change css of "text" type
from <input> we do this:*/

input[type=text] {
    /* Your Code Here */ 
}
Posted by: Guest on March-01-2020
0

select input field css

input[type=number]{
  width: 2rem;
  height: 2rem;
}
input[type=text]{
  width: 10rem;
  height: 3rem;
}
input[type=password]{
  border: 1px solid #ff0000;
}
input[type=date]{
  cursor: pointer;
}
Posted by: Guest on September-14-2021

Code answers related to "how to select input field in css"

Browse Popular Code Answers by Language