Answers for "how to target input type= select 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
4

target css by form name

tag[name="nameofthetag"] {
	//style your html tag
}

Example: 
<input type="submit" value="Go" name="goButton">
input[name="goButton"] {
  background: red;
}
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language