From the course: jQuery Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with CSS

Working with CSS - jQuery Tutorial

From the course: jQuery Essential Training

Start my 1-month free trial

Working with CSS

- [Instructor] Trying to build a modern Web application without CSS is a lot like trying to build a sandwich without bread. Ultimately, it's not going to work very well, and the result is going to be pretty messy. On top of that, CSS is one of those areas that is notoriously difficult to work with across browsers. The good news is that jQuery provides a variety of CSS functions that smooth out the CSS work flow for working across browsers and for accomplishing things that would normally require you to write custom code. And that's what we're going to learn about in this section. We'll start with the CSS function. Up until now, you've been watching me use the CSS function to set CSS properties, to make the results of things like selector and filter examples visible in the page. This CSS function works across browsers and it has a couple of different ways that you can call it, depending on whether you want to retrieve CSS values or set properties. To retrieve a CSS value, you simply…

Contents