javascript-tutorial / javascript-tutorial/en.javascript.info

CSS selectors

Offen
#1,468 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
HTML
Sterne
25.5k
Forks
4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It might help to have some reference or discussion of CSS selectors before jumping in here with, say 'ul > li:last-child'. with 'a[href$="zip"]' close on its heels.

To look at the case of a tutorial-user chosen at random, I, for instance, was familiar with the simple selectors: tag, #id, and .class selectors, plus :pseudo-class and ::pseudo-element selectors, and may have seen (but not used) [attribute] selectors, but what I now have found described as "combinator" selectors (">", "-", "~") were (besides space " ") new and unfamiliar (though I'm glad to be acquainted with them now). Anyway, I've educated myself and am moving on, and they're not that hard to learn, but to have a little more info on them or a reference might help some other poor fool(s). 🤷‍♂️🤷‍♀️

Probably wouldn't hurt, in any case.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Überprüfe das vorhandene Material des Tutorials zu CSS-Selektoren und verwende die im Issue genannten Beispiele wie Kombinatoren, Attributselektoren und Pseudoklassen als Ausgangsumfang. Als erledigt gilt die Aufgabe, wenn der relevante Tutorial-Inhalt für Lernende eine nützliche Referenz oder Diskussion dieser Selektoren enthält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
css
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.