October 2013
Intermediate to advanced
1044 pages
24h 36m
English
CHAPTER 3
![]()
CSS Primer
Cascading Style Sheets (CSS) are the means by which you control the appearance (more properly known as presentation) of HTML elements. CSS has a special significance for jQuery for two reasons. The first is that you can use CSS selectors (which I describe in this chapter) to tell jQuery how to find elements in an HTML document. The second reason is that one of the most common tasks that jQuery is used for is to change the CSS styles that are applied to elements.
There are more than 130 CSS properties, each of which controls an aspect of an element’s presentation. As with the HTML elements, there are too many CSS properties ...