Загрузка...

9.Code_CSS-Attribute Selector con Operatore DOLLARO

L'attribute selector con operatore DOLLARO ha la seguente sintassi: selettore[attributo$='valore'] {proprietà: valore;} e permette di selezionare gli elementi HTML che hanno un attributo il cui valore finisce con una specifica sequenza di caratteri.

Funzionamento: il selettore [attributo$='valore'] effettua una corrispondenza parziale (partial match) iniziale tra la stringa specificata come valore del selettore e il valore effettivo dell'attributo dell'elemento HTML; se la stringa è presente ed è posizionata ALLA FINE, allora l'elemento riceverà la stilizzazione.

(EN) The attribute selector with the DOLLAR operator has the following syntax: selector[attribute$='value'] {property: value;} and allows you to select HTML elements that have an attribute whose value ends with a specific sequence of characters.

How it works: The selector [attribute$="value"] performs an initial partial match between the string specified as the selector's value and the actual value of the HTML element's attribute; if the string is present and positioned AT THE END, then the element will receive the styling.

Видео 9.Code_CSS-Attribute Selector con Operatore DOLLARO канала Brando Giovanni_Easy Web Surf
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять