Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook
Lesson 2: Understanding selectors, specificity, and cascading CHAPTER 4 159 Understanding the browser’s built-in styles Even if ...
160 CHAPTER 4 Getting started with CSS3 To solve this problem, in the user-defined style sheet, you can add the “!important” mod ...
Lesson 2: Understanding selectors, specificity, and cascading CHAPTER 4 161 The author of the page can provide normal style decl ...
162 CHAPTER 4 Getting started with CSS3 FIGURE 4 -7 pecificity value calculation examples, sorted from lowest to highest valueS ...
Lesson 2: Understanding selectors, specificity, and cascading CHAPTER 4 163 Using the inherit value The previous example was rat ...
164 CHAPTER 4 Getting started with CSS3 Lesson review Answer the following questions to test your knowledge of the information i ...
Lesson 3: Working with CSS properties CHAPTER 4 165 The following style sheet rule is defined in Corporate.css. div p.highlight ...
166 CHAPTER 4 Getting started with CSS3 After this lesson, you will be able to: ■■Set CSS colors. ■■Implement a layout by using ...
Lesson 3: Working with CSS properties CHAPTER 4 167 Most colors can be represented by using this combination of red, green, and ...
168 CHAPTER 4 Getting started with CSS3 Color Name Hex Value Decimal Value darkmagenta #8b008b 139,0,139 darkolivegreen #556b2f ...
Lesson 3: Working with CSS properties CHAPTER 4 169 Color Name Hex Value Decimal Value ivory #fffff0 255,255,240 khaki #f0e68c 2 ...
170 CHAPTER 4 Getting started with CSS3 Color Name Hex Value Decimal Value mediumturquoise #48d1cc 72,209,204 mediumvioletred #c ...
Lesson 3: Working with CSS properties CHAPTER 4 171 Color Name Hex Value Decimal Value sienna #a0522d 160,82,45 silver #c0c0c0 1 ...
172 CHAPTER 4 Getting started with CSS3 Using transparency You can set the CSS opacity property to control the amount of transpa ...
Lesson 3: Working with CSS properties CHAPTER 4 173 FIGURE 4-8 he HSL color wheelT Working with text Formatting text is one of t ...
174 CHAPTER 4 Getting started with CSS3 FIGURE 4-9 he serif, sans serif, and monospaced font familiesT Serif and sans serif font ...
Lesson 3: Working with CSS properties CHAPTER 4 175 ■■pt An absolute measurement point unit, 72 points per inch ■■pc An absolute ...
176 CHAPTER 4 Getting started with CSS3 FIGURE 4-10 he CSS box modelT Setting the border, padding, and margin properties You can ...
Lesson 3: Working with CSS properties CHAPTER 4 177 </p> </body> </html> Figure 4-11 shows the rendered webpag ...
178 CHAPTER 4 Getting started with CSS3 some shortcuts to specifying the settings for each side. You can set the properties by s ...
«
5
6
7
8
9
10
11
12
13
14
»
Free download pdf