Articles tagged: Selectors
Found 26 documents
- Learn/CSS/Introduction_to_CSS CSS is used to style and lay out webpages — for example to alter the font, color, size and ...
- Learn/CSS/Introduction_to_CSS/Attribute_selectors Attribute selectors are a special kind of selector that will match elements based on their ...
- Learn/CSS/Introduction_to_CSS/Combinators_and_multiple_selectors In our final article on selectors we'll explore combinators and multiple selectors — two ways of ...
- Learn/CSS/Introduction_to_CSS/Fundamental_CSS_comprehension You've covered a lot in this module, so it must feel good to have reached the end! The final ...
- Learn/CSS/Introduction_to_CSS/Pseudo-classes_and_pseudo-elements In this, the third in our series of articles on selectors, we discuss pseudo-selectors — these ...
- Learn/CSS/Introduction_to_CSS/Selectors In CSS, selectors are used to target the HTML elements on our web pages that we want to style. ...
- Learn/CSS/Introduction_to_CSS/Simple_selectors In our first selectors article we'll learn about "simple" selectors, so-called because they ...
- Learn/CSS/Introduction_to_CSS/Syntax Next up, we dive into CSS syntax in a lot more detail, looking at how properties and their ...
- Learn/Tools_and_testing/Cross_browser_testing/HTML_and_CSS Now you should be familiar with the main types of cross browser HTML and CSS problems that ...
- Web/API/Document/querySelector Returns the first element within the document (using depth-first pre-order traversal of the ...
- Web/API/Document/querySelectorAll Returns a list of the elements within the document (using depth-first pre-order traversal of the ...
- Web/API/Element/querySelector Returns the first element that is a descendant of the element on which it is invoked that ...
- Web/CSS/Adjacent_sibling_selectors This is referred to as an adjacent selector or next-sibling selector. It will select only the ...
- Web/CSS/Attribute_selectors Attribute selectors select an element using the presence of a given attribute or attribute value.
- Web/CSS/Child_selectors The combinator separates two selectors and matches only those elements matched by the second ...
- Web/CSS/Class_selectors In an HTML document, CSS class selectors match an element based on the contents of the element's ...
- Web/CSS/CSS_Selectors Selectors define to which elements a set of CSS rules apply.
- Web/CSS/CSS_Selectors/Using_the_:target_pseudo-class_in_selectors When a URL points at a specific piece of a document, it can be difficult to ascertain. Find out ...
- Web/CSS/Descendant_selectors A descendant combinator — typically represented by a single space () character in the form of ...
- Web/CSS/General_sibling_selectors The ~ combinator separates two selectors and matches the second element only if it is preceded ...
- Web/CSS/ID_selectors In an HTML document, CSS ID selectors match an element based on the contents of that element's ...
- Web/CSS/Pseudo-classes A CSS pseudo-class is a keyword added to selectors that specifies a special state of the element ...
- Web/CSS/Pseudo-elements Just like pseudo-classes, pseudo-elements are added to selectors but instead of describing a ...
- Web/CSS/Type_selectors CSS type selectors match elements by node name. Used alone, therefore, a type selector for a ...
- Web/CSS/Universal_selectors An asterisk (*) is the universal selector for CSS. It matches a single element of any type. ...
- Web/Guide/HTML/HTML5/Constraint_validation The creation of web forms has always been a complex task. While marking up the form itself is ...