Chapter 7. Styling with JavaScript
After completing this chapter, you will be able to
View CSS properties with JavaScript
Set CSS properties with JavaScript
View and set current CSS classes with JavaScript
Use advanced effects and widgets from jQuery UI
CASCADING STYLE SHEETS (CSS) ARE USED to provide styling information for webpages. You see CSS all over but don’t even think about it. That fancy background color on a webpage? CSS. Adding style to make web forms look good? CSS. Changing fonts and font sizes? CSS. With CSS, it’s possible to create complex layouts while still making user interaction easy and intuitive.
Both JavaScript and jQuery have functions and ways in which to manipulate CSS and page styling. The chapter will primarily look at how ...
Get Microsoft® Start Here!™ Learn JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.