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.
На этой странице сайта вы можете посмотреть видео онлайн CSS Tutorial 35 - Attribute Selectors длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Struct Feed 12 Декабрь 2017, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 55 раз и оно понравилось 1 зрителям. Приятного просмотра!