CSS Form Attribute Selectors

Generally well-supported attribute selectors:
input[type=radio] input[type^=ra] input[type$=io] input[type*=d]
Element input with attribute type which contains a value that is equal to, begins with, ends with or contains a certain value.
Other safe selectors are:
Parent > child that has: p > span { font-weight: bold; }
Preeceded by ~ element which is: span ~ span { color: blue; }
Leave Your Comment
All fields marked with "*" are required.