CSS pseudo-elements are used to add special effects to some selectors such as selecting the first letter in text.
CSS pseudo-classes are quite confusing. But with careful use, you can make your web page much nicer and easy to read. This post focuses on the structural pseduo-classes.
CSS works with HTML or XML documents but it does not follow the XML syntax nor any programming language syntax.
You can select elements with the attribute values. Note that the attribute selection is case-sensitive. Continue reading
You know jQuery uses CSS selectors to query the elements in DOM. This mechanism is known as “Selectors API“. “Selectors API Level 1” is W3C Recommendation as of Feb/21/2013. “Selectors API Level 2” is included in “DOM 4” (2015).
Now your website can be viewed in many devices: laptops, netbooks, tablets, and even phones. Wouldn’t it be nice if you can provide custom styles for different devices without modifying your documents or existing styles?
The anchor “<a>” element is used to create a link. Unlike other elements, the anchor element has a mode (state) and can be styled accordingly. CSS provides the pseudo-selectors to select each state.
The W3C documents uses the hard terms that might confuse readers. The cascading order (priority) is the most important feature all developers must remember.