How Css Styling Texty Inputs Only

By wendy, November 26, 2013

Instead of including all the new types, we exclude the ones we don’t want styled.

input:not([type=submit]):not([type=file]) {
/* omg so much cleaner */
}

ie fix:

<!–[if lt IE 9]>
<script src=”http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js”></script>
<![endif]–>

Read the full article on css-tricks.com.
Also good to know about the CSS3 :not Selector.

2