Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 13. Changing the Default Theme > Learning About the Theme Framework

Learning About the Theme Framework

As you have noticed when using jQuery Mobile, a set of styles is applied to elements by default. The styles applied are part of the theme framework. The theme framework uses a combination of CSS2 and CSS3 styles to apply all the formatting as well as rounded corners, shadows, and gradients for backgrounds without loading extra images. This helps save on file size allowing the client browser to add most of the special effects used instead of forcing the browser to download multiple static images.

The theme framework is a powerful part of the jQuery Mobile system and allows you to easily create multiple color schemes and even new icon sets with minimal effort. Let’s take a look at how you can leverage the theme framework.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint