Css Input Type Selector Code Example


Example 1: 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 */
}

Example 2: css attribute selector


a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/

Example 3: css set styles for input text


input[type="text"] {  font-size: 0.9em;  padding-top: 0.35rem;}

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable