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.
Nesta página do site você pode assistir ao vídeo on-line CSS Tutorial 35 - Attribute Selectors duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Struct Feed 12 Dezembro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 55 vezes e gostou 1 espectadores. Boa visualização!