- HTML5 Web Application Development By Example Beginner's Guide
- J.M. Gustafson
- 92字
- 2021-08-13 16:50:25
Dynamic stylesheets
Let's add a new feature to our application to allow the user to select a color scheme, or theme, so they can customize the look and feel of the application. We can change the look of a web page by dynamically loading CSS files to override existing styles in our default stylesheet. To implement this, we will add a drop-down list of themes to our application that the user can choose from. When they change the theme, it will change the stylesheet which will change the color of the page.
推薦閱讀
- Facebook Application Development with Graph API Cookbook
- SQL Server 2016從入門到精通(視頻教學(xué)超值版)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計
- PostgreSQL for Data Architects
- C語言程序設(shè)計基礎(chǔ)與實驗指導(dǎo)
- aelf區(qū)塊鏈應(yīng)用架構(gòu)指南
- Processing互動編程藝術(shù)
- Spring實戰(zhàn)(第5版)
- Python編程從0到1(視頻教學(xué)版)
- R Data Analysis Cookbook(Second Edition)
- Mastering JavaScript High Performance
- C#開發(fā)案例精粹
- Python期貨量化交易實戰(zhàn)
- 計算語言學(xué)導(dǎo)論
- Joomla!Search Engine Optimization