Apply CSS style depending on tag attributes

CSS Selectors are a porwerful tool to be precise on site style. Usually, we define classes to apply atyle on elements, however not in all cases we can manipulate them, specially when working on CSS injection over a page which source code we can't (or do not pretend) to modify.

It is possible to define some tag parameters conditions on CSS Selector, between square brackets.

A very usual example is modifying all <input> that have type=text. The solution is the following:

input[type="text"]
{
   color: #ff0000;
}