- 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.
推薦閱讀
- C語言程序設計實踐教程(第2版)
- Objective-C Memory Management Essentials
- INSTANT FreeMarker Starter
- Hands-On Data Structures and Algorithms with JavaScript
- 網店設計看這本就夠了
- Mastering Android Game Development
- NGINX Cookbook
- HTML5秘籍(第2版)
- Java語言程序設計教程
- Principles of Strategic Data Science
- Scratch從入門到精通
- Python計算機視覺與深度學習實戰(zhàn)
- Java服務端研發(fā)知識圖譜
- Django 3 Web Development Cookbook
- JavaScript程序設計基礎教程(慕課版)