Inviato: 27 Set 2006 19:58 Oggetto: Segnalazione: Select Oracle - Traduzione dei selettori css
Segnalo questa utility: Select Oracle
Cosa fa? Traduce la dicitura di alcuni selettori complessi (principalmente CSS3) in un formato + intuitivo.
Putroppo solo in inglese e spagnolo.
Es.
Codice:
body > ol > li p;
:not(a);
p:not(.section);
body > h2:not(:first-of-type):not(:last-of-type);
ul li:nth-child(2n+3):not(:last-child);
ol li:nth-child(-3n+9);
ol li:nth-child(7n-3);
button:not([DISABLED]);
html|*:not(:link);
lo script li traduce in questo modo:
Citazione:
Translation: Selector 1: body > ol > li p
Selects any p element that is a descendant of a li element that is a child of an ol element that is a child of a body element.
Selector 2: *:not(a)
Selects any element which is not an A element.
Selector 3: p:not(.section)
Selects any p element without a class attribute that contains the word section.
Selector 4: body > h2:not(:first-of-type):not(:last-of-type)
Selects any h2 element that is not a first child of its type and that is not a last child of its type that is a child of a body element.
Selector 5: ul li:nth-child(2n+3):not(:last-child)
Selects any li element that is an odd numbered child starting with the third child and that is not a last child that is a descendant of an ul element.
Selector 6: ol li:nth-child(-3n+9)
Selects any li element that is one of every three children between the third and the ninth children that is a descendant of an ol element.
Selector 7: ol li:nth-child(7n-3)
Selects any li element that is one of every seven children starting with the fourth child that is a descendant of an ol element.
Selector 8: button:not([DISABLED])
Selects any button element without a DISABLED attribute.
Selector 9: html|*:not(:link)
Selects any element in namespace html whose target has been visited.
Non puoi inserire nuovi argomenti Non puoi rispondere a nessun argomento Non puoi modificare i tuoi messaggi Non puoi cancellare i tuoi messaggi Non puoi votare nei sondaggi