In this CSS tutorial, I go over selecting HTML elements with attaribute selectors. To use attaribute as selectors, you just need to put the attribute in square brackets....
[attribute = "attribute value"] {
/* Your CSS here */
}
you can also add ~ before equal (=) sign and this will select all elements where the attribute has the word separated by space or by it self
[attribute ~= "attribute value"]
you can also add | before equal (=) sign and this will select all elements where the attribute has the word separated by dash (-) or by it self
[attribute |= "attribute value"]
using [attribute ^= "attribute value"] selects all that begin with the value supplied.
using [attribute $= "attribute value"] selects all that end with the value supplied.
using [attribute *= "attribute value"] selects all that contain the value supplied.
In questa pagina del sito puoi guardare il video online CSS Tutorial 35 - Attribute Selectors della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Struct Feed 12 dicembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 55 volte e gli è piaciuto 1 spettatori. Buona visione!