jQuery CSS Selectors

Using CSS selectors in jQuery means you can easily change the styles of HTML elements on your web page dynamically!

The beauty of these special selectors is that a simple jQuery CSS selector line can find and change CSS properties for multiple HTML elements all at the same time! Magic.

Here is how you do it:


Try it for yourself!

Source: http://www.w3schools.com/jquery/jquery_selectors.asp