- Mastering CSS
- Rich Finelli
- 107字
- 2021-07-08 09:45:52
Renaming elements — classes and IDs
Renaming elements is such a powerful feature of CSS. Let me set this up for you. So far, CSS has been good because we have been able to keep things consistent. All heading 1s are blue with a font size of 20 pixels, for instance, but what if you want your h1 to look different? That's where renaming and classifying elements really becomes useful. In this section, you're going to learn about how to rename and style elements based on classes and IDs. We'll look at how this will pay off on our shark website, first with classes, followed by IDs.
推薦閱讀
- Java高手真經(高級編程卷):Java Web高級開發技術
- C#程序設計(慕課版)
- Python從入門到精通(精粹版)
- 新手學Visual C# 2008程序設計
- Mastering Python High Performance
- Learning Network Forensics
- Visual C++應用開發
- Selenium Testing Tools Cookbook(Second Edition)
- 軟件測試實用教程
- Android項目實戰:手機安全衛士開發案例解析
- 微信小程序開發與實戰(微課版)
- UML2面向對象分析與設計(第2版)
- Visual Basic程序設計(第三版)
- Learning Grunt
- 3D Printing Designs:The Sun Puzzle