- 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.
推薦閱讀
- Spring 5.0 By Example
- C語言程序設計案例教程(第2版)
- Moodle Administration Essentials
- Vue.js 2 and Bootstrap 4 Web Development
- Learn Scala Programming
- Python 3破冰人工智能:從入門到實戰
- Python數據可視化之Matplotlib與Pyecharts實戰
- 用戶體驗增長:數字化·智能化·綠色化
- Python編程從0到1(視頻教學版)
- 劍指Java:核心原理與應用實踐
- UI設計全書(全彩)
- SQL Server 2008 R2數據庫技術及應用(第3版)
- 創意UI:Photoshop玩轉APP設計
- 軟件測試分析與實踐
- Keil Cx51 V7.0單片機高級語言編程與μVision2應用實踐