Attribute selectors allow style to be added to elements based on their attributes and attribute values.
Attribute Selector
Elements that use a specific attribute can be matched using the attribute selector. This selector does not take the value of the attribute into account.
This selector will match only input elements that use the
type attribute, such as the following element:
Attribute Value Selector
Both attribute and value can be matched using the attribute value
selector.
Input elements that have their type attribute set to submit ...