├── .gitignore ├── .prettierrc.json ├── README.md ├── appendixB ├── build │ ├── styles.css │ └── styles.css.map ├── package-lock.json ├── package.json └── sass │ ├── _button.scss │ └── index.scss ├── ch01 ├── listing-1.01.html ├── listing-1.02.html ├── listing-1.03.html ├── listing-1.04.html ├── listing-1.05.html ├── listing-1.06.html ├── listing-1.07.html ├── listing-1.08.html ├── listing-1.09.html ├── listing-1.10.html ├── listing-1.11.html ├── listing-1.12.html ├── listing-1.13.html ├── listing-1.14.html ├── listing-1.15.html ├── listing-1.16.html ├── listing-1.17.html ├── listing-1.18.html ├── listing-1.19.html ├── listing-1.20.html ├── listing-1.21.html ├── listing-1.22.html ├── listing-1.23.html ├── listing-1.24.html └── listing-1.25.html ├── ch02 ├── listing-2.01.html ├── listing-2.02.html ├── listing-2.03.html ├── listing-2.04.html ├── listing-2.05.html ├── listing-2.07.html ├── listing-2.08.html ├── listing-2.09.html ├── listing-2.10.html ├── listing-2.11.html ├── listing-2.12.html ├── listing-2.13.html ├── listing-2.14.html ├── listing-2.15.html ├── listing-2.16.html ├── listing-2.17.html ├── listing-2.18.html ├── listing-2.19.html ├── listing-2.20.html ├── listing-2.21.html ├── listing-2.22.html ├── listing-2.23.html └── listing-2.24.html ├── ch03 ├── listing-3.01.html ├── listing-3.02.html ├── listing-3.03.html ├── listing-3.04.html ├── listing-3.05.html ├── listing-3.06.html ├── listing-3.07.html ├── listing-3.08.html ├── listing-3.09.html ├── listing-3.10.html ├── listing-3.11.html ├── listing-3.12.html ├── listing-3.13.html ├── listing-3.14.html ├── listing-3.15.html └── listing-3.16.html ├── ch04 ├── listing-4.01.html ├── listing-4.02.html ├── listing-4.03.html ├── listing-4.04.html ├── listing-4.05.html ├── listing-4.06.html ├── listing-4.07.html ├── listing-4.08.html ├── listing-4.09.html ├── listing-4.10.html └── listing-4.11.html ├── ch05 ├── images │ ├── bear.jpg │ ├── bird.jpg │ ├── eagle.jpg │ ├── elephants.jpg │ ├── monkey.jpg │ ├── owl.jpg │ └── swan.jpg ├── listing-5.01.html ├── listing-5.02.html ├── listing-5.03.html ├── listing-5.04.html ├── listing-5.05.html ├── listing-5.06.html ├── listing-5.07.html ├── listing-5.08.html ├── listing-5.09.html ├── listing-5.10.html ├── listing-5.11.html ├── listing-5.12.html ├── listing-5.13.html └── listing-5.14.html ├── ch06 ├── listing-6.01.html ├── listing-6.02.html ├── listing-6.03.html ├── listing-6.04.html ├── listing-6.05.html ├── listing-6.06.html ├── listing-6.07.html ├── listing-6.08.html ├── listing-6.09.html ├── listing-6.10.html ├── listing-6.11.html ├── listing-6.12.html ├── listing-6.13.html ├── listing-6.14.html └── listing-6.15.html ├── ch07 ├── coffee-beans-medium.jpg ├── coffee-beans-small.jpg ├── coffee-beans.jpg ├── listing-7.01.html ├── listing-7.02.html ├── listing-7.03.html ├── listing-7.04.html ├── listing-7.05.html ├── listing-7.06.html ├── listing-7.07.html ├── listing-7.09.html ├── listing-7.10.html ├── listing-7.11.html ├── listing-7.12.html ├── listing-7.13.html ├── listing-7.14.html └── listing-7.15.html ├── ch08 ├── listing-8.01.html ├── listing-8.02.html ├── listing-8.03.html ├── listing-8.04.html ├── listing-8.05.html ├── listing-8.06.html ├── listing-8.07.html ├── listing-8.08.html ├── listing-8.09.html ├── listing-8.10.html ├── listing-8.11.html ├── listing-8.12.html ├── listing-8.13.html ├── listing-8.14.html ├── listing-8.15.html ├── listing-8.16.html ├── listing-8.17.html ├── listing-8.18.html └── listing-8.19.html ├── ch09 ├── listing-9.01.html ├── listing-9.02.html ├── listing-9.03.html ├── listing-9.04.html ├── listing-9.06.html ├── listing-9.08.html ├── listing-9.10.html ├── listing-9.11.html ├── listing-9.12.html ├── listing-9.13.html ├── listing-9.14.html ├── listing-9.16.html ├── listing-9.18.html ├── listing-9.19.html ├── listing-9.20.html └── runner.png ├── ch10 ├── listing-10.01.html ├── listing-10.02.html ├── listing-10.03.html ├── listing-10.04.html ├── listing-10.05.html ├── listing-10.06.html ├── listing-10.07.html ├── listing-10.08.html ├── listing-10.08b.html ├── listing-10.09.html ├── listing-10.10.html ├── race.jpg ├── runner-hill.jpg ├── runner.png └── shoe.jpg ├── ch11 ├── collaboration.jpg ├── listing-11.01.html ├── listing-11.02.html ├── listing-11.03.html ├── listing-11.04.html ├── listing-11.05.html ├── listing-11.06.html └── listing-11.08.html ├── ch12 ├── collaboration.jpg ├── listing-12.01.html ├── listing-12.02.html ├── listing-12.03.html ├── listing-12.04.html ├── listing-12.05.html ├── listing-12.06.html ├── listing-12.07.html ├── listing-12.11.html ├── listing-12.12.html ├── listing-12.13.html ├── listing-12.14.html └── open-sans.woff2 ├── ch13 ├── images │ ├── bear.jpg │ └── scratches.png ├── listing-13.01.html ├── listing-13.03.html ├── listing-13.04.html ├── listing-13.05.html ├── listing-13.06.html ├── listing-13.07.html ├── listing-13.08.html ├── listing-13.09.html ├── listing-13.10.html ├── listing-13.11.html ├── listing-13.12.html ├── listing-13.13.html ├── listing-13.14.html ├── listing-13.15.html ├── listing-13.16.html └── listing-13.17.html ├── ch14 ├── images │ ├── bird.jpg │ ├── eagle.jpg │ ├── star-mask.png │ └── star-mask.svg ├── listing-14.01.html ├── listing-14.02.html ├── listing-14.03.html ├── listing-14.05.html ├── listing-14.06.html ├── listing-14.07.html ├── listing-14.08.html ├── listing-14.10.html ├── listing-14.10b.html ├── listing-14.11.html ├── listing-14.12.html ├── listing-14.12b.html ├── listing-14.14.html ├── listing-14.15.html ├── listing-14.16.html └── listing-14.17.html ├── ch15 ├── listing-15.02.html ├── listing-15.04.html ├── listing-15.05.html ├── listing-15.07.html ├── listing-15.08.html ├── listing-15.09.html ├── listing-15.10.html ├── listing-15.11.html └── listing-15.12.html ├── ch16 ├── images │ ├── calendar.svg │ ├── chicken1.jpg │ ├── chicken2.jpg │ ├── chicken3.jpg │ ├── chicken4.jpg │ ├── home.svg │ ├── members.svg │ └── star.svg ├── listing-16.02.html ├── listing-16.03.html ├── listing-16.04.html ├── listing-16.06.html ├── listing-16.07.html ├── listing-16.08.html ├── listing-16.09.html ├── listing-16.10.html ├── listing-16.11.html ├── listing-16.13.html ├── listing-16.14.html └── listing-16.15.html ├── ch17 ├── images │ ├── calendar.svg │ ├── chicken1.jpg │ ├── chicken2.jpg │ ├── chicken3.jpg │ ├── chicken4.jpg │ ├── home.svg │ ├── members.svg │ └── star.svg ├── listing-17.03.html ├── listing-17.05.html ├── listing-17.06.html ├── listing-17.07.html ├── listing-17.08.html ├── listing-17.09.html ├── listing-17.11.html ├── listing-17.12.html ├── listing-17.13.html ├── listing-17.14.html ├── listing-17.15.html └── listing-17.16.html ├── cover.png ├── package-lock.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .sass-cache 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "overrides": [ 3 | { 4 | "files": ["*.html", "*.css"], 5 | "options": { 6 | "singleQuote": false 7 | } 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CSS in Depth, 2nd edition 2 | 3 | Code listings from [CSS In Depth, second edition](https://www.manning.com/books/css-in-depth-second-edition?a_aid=kjg&a_bid=a7bc24da) by Keith J. Grant 4 | 5 | Because working examples requires both HTML and CSS, I have put most listings in an HTML file, using 7 | 8 | 9 | 20 | 21 | -------------------------------------------------------------------------------- /ch01/listing-1.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 30 | 31 | -------------------------------------------------------------------------------- /ch01/listing-1.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 28 | 29 | 30 | 41 | 42 | -------------------------------------------------------------------------------- /ch01/listing-1.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 28 | 29 | 30 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.06.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 22 | 23 | 34 | 35 | -------------------------------------------------------------------------------- /ch01/listing-1.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.09.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 | 46 | -------------------------------------------------------------------------------- /ch01/listing-1.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 32 | 33 | 34 | 45 |
46 |

47 | Be sure to check out 48 | our specials. 49 |

50 |
51 | 52 | -------------------------------------------------------------------------------- /ch01/listing-1.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 53 | 54 | 55 | 66 |
67 |

68 | Be sure to check out 69 | our specials. 70 |

71 |
72 | 73 | -------------------------------------------------------------------------------- /ch01/listing-1.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 57 | 58 | 59 | 70 |
71 |

72 | Be sure to check out 73 | our specials. 74 |

75 |
76 | 77 | -------------------------------------------------------------------------------- /ch01/listing-1.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 59 | 60 | 61 | 72 |
73 |

74 | Be sure to check out 75 | our specials. 76 |

77 |
78 | 82 | 83 | -------------------------------------------------------------------------------- /ch01/listing-1.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.17.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.18.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.19.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 79 | 80 | 81 | 92 |
93 |

94 | Be sure to check out 95 | our specials. 96 |

97 |
98 | 102 | 103 | -------------------------------------------------------------------------------- /ch01/listing-1.21.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.22.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

86 | Be sure to check out 87 | our specials. 88 |

89 |
90 | 94 | 95 | -------------------------------------------------------------------------------- /ch01/listing-1.23.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 72 | 73 | 74 | 85 |
86 |

87 | Be sure to check out 88 | our specials. 89 |

90 |
91 | 95 | 96 | -------------------------------------------------------------------------------- /ch01/listing-1.24.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 71 | 72 | 73 | 84 |
85 |

Try some of our newest coffees:

86 |
87 | Costa Rica 88 | Ethiopia 89 | Guatemala 90 | Kenya 91 | Mexico 92 |
93 |
94 | 98 | 99 | -------------------------------------------------------------------------------- /ch02/listing-2.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 |
13 | We have built partnerships with small farms around the world to hand-select 14 | beans at the peak of season. We then carefully roast in 15 | small batches to maximize their potential. 16 |
17 | 18 | -------------------------------------------------------------------------------- /ch02/listing-2.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 | 25 | 26 | Small 27 | Large 28 | 29 | -------------------------------------------------------------------------------- /ch02/listing-2.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | We love coffee 16 |

We love coffee

17 | 18 | -------------------------------------------------------------------------------- /ch02/listing-2.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 |

We love coffee

18 | 19 | -------------------------------------------------------------------------------- /ch02/listing-2.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 38 | 39 | -------------------------------------------------------------------------------- /ch02/listing-2.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | 17 | 18 | 19 | 42 | 43 | -------------------------------------------------------------------------------- /ch02/listing-2.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | 38 | 39 | -------------------------------------------------------------------------------- /ch02/listing-2.09.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ch02/listing-2.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |
16 |

Single-origin

17 |
18 | We have built partnerships with small farms around the world to 19 | hand-select beans at the peak of season. We then carefully roast in 20 | small batches to maximize their potential. 21 |
22 |
23 | 24 | -------------------------------------------------------------------------------- /ch02/listing-2.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24 | 25 | 26 | 27 |
28 |

Single-origin

29 |
30 | We have built partnerships with small farms around the world to 31 | hand-select beans at the peak of season. We then carefully roast in 32 | small batches to maximize their potential. 33 |
34 |
35 | 36 | -------------------------------------------------------------------------------- /ch02/listing-2.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 34 | 35 | 36 | 37 |
38 |

Single-origin

39 |
40 | We have built partnerships with small farms around the world to 41 | hand-select beans at the peak of season. We then carefully roast in 42 | small batches to maximize their potential. 43 |
44 |
45 | 46 | -------------------------------------------------------------------------------- /ch02/listing-2.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40 | 41 | 42 | 43 |
44 |

Single-origin

45 |
46 | We have built partnerships with small farms around the world to 47 | hand-select beans at the peak of season. We then carefully roast in 48 | small batches to maximize their potential. 49 |
50 |
51 |
52 |

Single-origin

53 |
54 | We have built partnerships with small farms around the world to 55 | hand-select beans at the peak of season. We then carefully roast in 56 | small batches to maximize their potential. 57 |
58 |
59 | 60 | -------------------------------------------------------------------------------- /ch02/listing-2.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 |
14 | 15 | -------------------------------------------------------------------------------- /ch02/listing-2.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 |

10 | We have built partnerships with small farms around the world to hand-select 11 | beans at the peak of season. We then carefully roast in small batches to 12 | maximize their potential. 13 |

14 | 15 | -------------------------------------------------------------------------------- /ch02/listing-2.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |

16 | We have built partnerships with small farms around the world to hand-select 17 | beans at the peak of season. We then carefully roast in small batches to 18 | maximize their potential. 19 |

20 | 21 | -------------------------------------------------------------------------------- /ch02/listing-2.17.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |

16 | We have built partnerships with small farms around the world to hand-select 17 | beans at the peak of season. We then carefully roast in small batches to 18 | maximize their potential. 19 |

20 | 21 | -------------------------------------------------------------------------------- /ch02/listing-2.18.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |

16 | We have built partnerships with small farms around the world to hand-select 17 | beans at the peak of season. We then carefully roast in small batches to 18 | maximize their potential. 19 |

20 | 21 | -------------------------------------------------------------------------------- /ch02/listing-2.19.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 |

18 | We have built partnerships with small farms around the world to hand-select 19 | beans at the peak of season. We then carefully roast in small batches to 20 | maximize their potential. 21 |

22 | 23 | -------------------------------------------------------------------------------- /ch02/listing-2.20.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 16 | 17 |

18 | We have built partnerships with small farms around the world to hand-select 19 | beans at the peak of season. We then carefully roast in small batches to 20 | maximize their potential. 21 |

22 | 23 | -------------------------------------------------------------------------------- /ch02/listing-2.21.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 28 | 29 | 30 | 31 |
32 |

Single-origin

33 |
34 | We have built partnerships with small farms around the world to 35 | hand-select beans at the peak of season. We then carefully roast in small 36 | batches to maximize their potential. 37 |
38 |
39 | 40 | 50 | 51 | -------------------------------------------------------------------------------- /ch02/listing-2.22.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 34 | 35 | 36 | 37 |
38 |

Single-origin

39 |
40 | We have built partnerships with small farms around the world to 41 | hand-select beans at the peak of season. We then carefully roast in small 42 | batches to maximize their potential. 43 |
44 |
45 | 46 | 56 | 57 | -------------------------------------------------------------------------------- /ch02/listing-2.23.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 42 | 43 | 44 | 45 |
46 |

Single-origin

47 |
48 | We have built partnerships with small farms around the world to 49 | hand-select beans at the peak of season. We then carefully roast in small 50 | batches to maximize their potential. 51 |
52 |
53 | 54 | 64 | 65 | -------------------------------------------------------------------------------- /ch02/listing-2.24.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 42 | 43 | 44 | 45 |
46 |

Single-origin

47 |
48 | We have built partnerships with small farms around the world to 49 | hand-select beans at the peak of season. We then carefully roast in small 50 | batches to maximize their potential. 51 |
52 |
53 | 54 | 64 | 65 | 73 | 74 | -------------------------------------------------------------------------------- /ch03/listing-3.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 11 |
12 |
13 |

Come join us!

14 |

15 | The Franklin Running Club meets at 6:00pm every Thursday at the 16 | town square. Runs are three to five miles, at your own pace. 17 |

18 |

19 | Join us while we train for the 20 | St. Patrick's Day 5k. Don't forget to wear 21 | green! 22 |

23 |
24 | 28 |
29 | 30 | -------------------------------------------------------------------------------- /ch03/listing-3.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 29 | 30 | 31 | 34 |
35 |
36 |

Come join us!

37 |

38 | The Franklin Running Club meets at 6:00pm every Thursday at the 39 | town square. Runs are three to five miles, at your own pace. 40 |

41 |

42 | Join us while we train for the 43 | St. Patrick's Day 5k. Don't forget to wear 44 | green! 45 |

46 |
47 | 51 |
52 | 53 | -------------------------------------------------------------------------------- /ch03/listing-3.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40 | 41 | 42 | 45 |
46 |
47 |

Come join us!

48 |

49 | The Franklin Running Club meets at 6:00pm every Thursday at the 50 | town square. Runs are three to five miles, at your own pace. 51 |

52 |

53 | Join us while we train for the 54 | St. Patrick's Day 5k. Don't forget to wear 55 | green! 56 |

57 |
58 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /ch03/listing-3.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40 | 41 | 42 | 45 |
46 |
47 |

Come join us!

48 |

49 | The Franklin Running Club meets at 6:00pm every Thursday at the 50 | town square. Runs are three to five miles, at your own pace. 51 |

52 |

53 | Join us while we train for the 54 | St. Patrick's Day 5k. Don't forget to wear 55 | green! 56 |

57 |
58 | 62 |
63 | 64 | -------------------------------------------------------------------------------- /ch03/listing-3.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 42 | 43 | 44 | 47 |
48 |
49 |

Come join us!

50 |

51 | The Franklin Running Club meets at 6:00pm every Thursday at the 52 | town square. Runs are three to five miles, at your own pace. 53 |

54 |

55 | Join us while we train for the 56 | St. Patrick's Day 5k. Don't forget to wear 57 | green! 58 |

59 |
60 | 64 |
65 | 66 | -------------------------------------------------------------------------------- /ch03/listing-3.06.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 43 | 44 | 45 | 48 |
49 |
50 |

Come join us!

51 |

52 | The Franklin Running Club meets at 6:00pm every Thursday at the 53 | town square. Runs are three to five miles, at your own pace. 54 |

55 |

56 | Join us while we train for the 57 | St. Patrick's Day 5k. Don't forget to wear 58 | green! 59 |

60 |
61 | 65 |
66 | 67 | -------------------------------------------------------------------------------- /ch03/listing-3.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 44 | 45 | 46 | 49 |
50 |
51 |

Come join us!

52 |

53 | The Franklin Running Club meets at 6:00pm every Thursday at the 54 | town square. Runs are three to five miles, at your own pace. 55 |

56 |

57 | Join us while we train for the 58 | St. Patrick's Day 5k. Don't forget to wear 59 | green! 60 |

61 |
62 | 66 |
67 | 68 | -------------------------------------------------------------------------------- /ch03/listing-3.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 49 | 50 | 51 | 54 |
55 |
56 |

Come join us!

57 |

58 | The Franklin Running Club meets at 6:00pm every Thursday at the 59 | town square. Runs are three to five miles, at your own pace. 60 |

61 |

62 | Join us while we train for the 63 | St. Patrick's Day 5k. Don't forget to wear 64 | green! 65 |

66 |
67 | 71 |
72 | 73 | -------------------------------------------------------------------------------- /ch03/listing-3.09.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 38 | 39 | 40 | 43 |
44 |

Come join us!

45 |

46 | The Franklin Running Club meets at 6:00pm every Thursday at the 47 | town square. Runs are three to five miles, at your own pace. 48 |

49 |
50 |

51 | Negative margins expand this element outside its container. An equal 52 | amount of padding brings the content into alignment with the content 53 | above and below. 54 |

55 |
56 |

57 | Join us while we train for the 58 | St. Patrick's Day 5k. Don't forget to wear 59 | green! 60 |

61 |
62 | 63 | -------------------------------------------------------------------------------- /ch03/listing-3.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 49 | 50 | 51 | 54 |
55 |
56 |

Come join us!

57 |
58 |

59 | The Franklin Running Club meets at 6:00pm every Thursday at the 60 | town square. Runs are three to five miles, at your own pace. 61 |

62 |

63 | Join us while we train for the 64 | St. Patrick's Day 5k. Don't forget to wear 65 | green! 66 |

67 |
68 |
69 | 73 |
74 | 75 | -------------------------------------------------------------------------------- /ch03/listing-3.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 49 | 50 | 51 | 54 |
55 |
56 |

Come join us!

57 |

58 | The Franklin Running Club meets at 6:00pm every Thursday at the 59 | town square. Runs are three to five miles, at your own pace. 60 |

61 |

62 | Join us while we train for the 63 | St. Patrick's Day 5k. Don't forget to wear 64 | green! 65 |

66 |
67 | 71 |
72 | 73 | -------------------------------------------------------------------------------- /ch03/listing-3.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 60 | 61 | 62 | 65 |
66 |
67 |

Come join us!

68 |

69 | The Franklin Running Club meets at 6:00pm every Thursday at the 70 | town square. Runs are three to five miles, at your own pace. 71 |

72 |

73 | Join us while we train for the 74 | St. Patrick's Day 5k. Don't forget to wear 75 | green! 76 |

77 |
78 | 82 |
83 | 84 | -------------------------------------------------------------------------------- /ch03/listing-3.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 64 | 65 | 66 | 69 |
70 |
71 |

Come join us!

72 |

73 | The Franklin Running Club meets at 6:00pm every Thursday at the 74 | town square. Runs are three to five miles, at your own pace. 75 |

76 |

77 | Join us while we train for the 78 | St. Patrick's Day 5k. Don't forget to wear 79 | green! 80 |

81 |
82 | 86 |
87 | 88 | -------------------------------------------------------------------------------- /ch03/listing-3.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 66 | 67 | 68 | 71 |
72 |
73 |

Come join us!

74 |

75 | The Franklin Running Club meets at 6:00pm every Thursday at the 76 | town square. Runs are three to five miles, at your own pace. 77 |

78 |

79 | Join us while we train for the 80 | St. Patrick's Day 5k. Don't forget to wear 81 | green! 82 |

83 |
84 | 89 |
90 | 91 | -------------------------------------------------------------------------------- /ch04/listing-4.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 |
11 |
12 |

Ink

13 |
14 | 25 |
26 |
27 |

Team collaboration done right

28 |

29 | Thousands of teams from all over the world turn to Ink to 30 | communicate and get things done. 31 |

32 |
33 |
34 |
35 | 47 |
48 |
49 | Starting at 50 |
51 | $ 52 | 20 53 | .00 54 |
55 | Sign up 56 |
57 |
58 |
59 |
60 | 61 | 62 | -------------------------------------------------------------------------------- /ch04/listing-4.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 26 | 27 | 28 | 29 |
30 |
31 |

Ink

32 |
33 | 44 |
45 |
46 |

Team collaboration done right

47 |

48 | Thousands of teams from all over the world turn to Ink to 49 | communicate and get things done. 50 |

51 |
52 |
53 |
54 | 66 |
67 |
68 | Starting at 69 |
70 | $ 71 | 20 72 | .00 73 |
74 | Sign up 75 |
76 |
77 |
78 |
79 | 80 | 81 | -------------------------------------------------------------------------------- /ch05/images/bear.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/bear.jpg -------------------------------------------------------------------------------- /ch05/images/bird.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/bird.jpg -------------------------------------------------------------------------------- /ch05/images/eagle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/eagle.jpg -------------------------------------------------------------------------------- /ch05/images/elephants.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/elephants.jpg -------------------------------------------------------------------------------- /ch05/images/monkey.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/monkey.jpg -------------------------------------------------------------------------------- /ch05/images/owl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/owl.jpg -------------------------------------------------------------------------------- /ch05/images/swan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch05/images/swan.jpg -------------------------------------------------------------------------------- /ch05/listing-5.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 |
10 |
a
11 |
b
12 |
c
13 |
d
14 |
e
15 |
f
16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /ch05/listing-5.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 25 | 26 | 27 |
28 |
a
29 |
b
30 |
c
31 |
d
32 |
e
33 |
f
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /ch05/listing-5.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 |
10 |
11 |

Ink

12 |
13 | 24 |
25 |

Team collaboration done right

26 |

27 | Thousands of teams from all over the world turn to Ink to 28 | communicate and get things done. 29 |

30 |
31 | 45 | 54 |
55 | 56 | 57 | -------------------------------------------------------------------------------- /ch05/listing-5.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 |
10 | 14 |
15 | eagle 16 |
Eagle
17 |
18 | 22 |
23 | bear 24 |
Bear
25 |
26 | 30 |
31 | elephants 32 |
Elephants
33 |
34 |
35 | owl 36 |
Owl
37 |
38 |
39 | 40 | -------------------------------------------------------------------------------- /ch05/listing-5.09.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 37 | 38 | 39 | 40 |
41 | 45 |
46 | eagle 47 |
Eagle
48 |
49 | 53 |
54 | bear 55 |
Bear
56 |
57 | 61 |
62 | elephants 63 |
Elephants
64 |
65 |
66 | owl 67 |
Owl
68 |
69 |
70 | 71 | -------------------------------------------------------------------------------- /ch05/listing-5.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 43 | 44 | 45 | 46 |
47 | 51 |
52 | eagle 53 |
Eagle
54 |
55 | 59 |
60 | bear 61 |
Bear
62 |
63 | 67 |
68 | elephants 69 |
Elephants
70 |
71 |
72 | owl 73 |
Owl
74 |
75 |
76 | 77 | -------------------------------------------------------------------------------- /ch05/listing-5.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 47 | 48 | 49 | 50 |
51 | 55 |
56 | eagle 57 |
Eagle
58 |
59 | 63 |
64 | bear 65 |
Bear
66 |
67 | 71 |
72 | elephants 73 |
Elephants
74 |
75 |
76 | owl 77 |
Owl
78 |
79 |
80 | 81 | -------------------------------------------------------------------------------- /ch05/listing-5.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 |
10 |
11 |

Sir Arthur Ignatius Conan Doyle

12 |
13 |

14 | A British writer and physician who created the fictional detective 15 | Sherlock Holmes. 16 |

17 |
18 | 19 |
20 |
21 |

Mark Twain

22 |
23 |

24 | An American author famous for The Adventures of Tom Sawyer and 25 | Adventures of Huckleberry Finn. He has been called “the father 26 | of American literature.” 27 |

28 |
29 | 30 |
31 |
32 |

Homer

33 |
34 |

35 | Author of the Greek epic poems The Iliad and 36 | The Odyssey. 37 |

38 |
39 | 40 |
41 |
42 | 43 | -------------------------------------------------------------------------------- /ch05/listing-5.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 40 | 41 | 42 | 43 |
44 |
45 |

Sir Arthur Ignatius Conan Doyle

46 |
47 |

48 | A British writer and physician who created the fictional detective 49 | Sherlock Holmes. 50 |

51 |
52 | 53 |
54 |
55 |

Mark Twain

56 |
57 |

58 | An American author famous for The Adventures of Tom Sawyer and 59 | Adventures of Huckleberry Finn. He has been called “the father 60 | of American literature.” 61 |

62 |
63 | 64 |
65 |
66 |

Homer

67 |
68 |

69 | Author of the Greek epic poems The Iliad and 70 | The Odyssey. 71 |

72 |
73 | 74 |
75 |
76 | 77 | -------------------------------------------------------------------------------- /ch05/listing-5.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 46 | 47 | 48 | 49 |
50 |
51 |

Sir Arthur Ignatius Conan Doyle

52 |
53 |

54 | A British writer and physician who created the fictional detective 55 | Sherlock Holmes. 56 |

57 |
58 | 59 |
60 |
61 |

Mark Twain

62 |
63 |

64 | An American author famous for The Adventures of Tom Sawyer and 65 | Adventures of Huckleberry Finn. He has been called “the father 66 | of American literature.” 67 |

68 |
69 | 70 |
71 |
72 |

Homer

73 |
74 |

75 | Author of the Greek epic poems The Iliad and 76 | The Odyssey. 77 |

78 |
79 | 80 |
81 |
82 | 83 | -------------------------------------------------------------------------------- /ch06/listing-6.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 |
11 |
12 |

13 | Find out what's going on at Wombat Coffee each month. Sign up for our 14 | newsletter: 15 | 16 |

17 |
18 |
19 | 34 |
35 |

Wombat Coffee Roasters

36 |
37 | 38 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /ch06/listing-6.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 |
10 | one 11 |
nested
12 |
13 |
two
14 |
three
15 | 16 | -------------------------------------------------------------------------------- /ch06/listing-6.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 56 | 57 | 58 | 59 |
60 | one 61 |
nested
62 |
63 |
two
64 |
three
65 | 66 | -------------------------------------------------------------------------------- /ch07/coffee-beans-medium.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch07/coffee-beans-medium.jpg -------------------------------------------------------------------------------- /ch07/coffee-beans-small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch07/coffee-beans-small.jpg -------------------------------------------------------------------------------- /ch07/coffee-beans.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch07/coffee-beans.jpg -------------------------------------------------------------------------------- /ch07/listing-7.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Wombat Coffee Roasters 6 | 9 | 10 | 11 | 12 | 18 | 19 | 30 | 31 | 35 | 36 |
37 |
38 |

Single-origin

39 |

40 | We have built partnerships with small farms around the world to 41 | hand-select beans at the peak of season. We then carefully roast in 42 | small batches 43 | to maximize their potential. 44 |

45 |
46 |
47 |

Blends

48 |

49 | Our tasters have put together a selection of carefully balanced 50 | blends. Our famous 51 | house blend 52 | is available year round. 53 |

54 |
55 |
56 |

Brewing Equipment

57 |

58 | We offer our favorite kettles, French presses, and pour-over cones. 59 | Come to one of our brewing classes to 60 | learn how to brew the perfect pour-over cup. 61 |

62 |
63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /ch07/listing-7.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Responsive table example 7 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 |
CountryRegion/FarmTasting notesPrice
NicaraguaMatagulpaDark chocolate, almond$13.95
EthiopiaYirgacheffeSweet tea, blueberry$15.95
EthiopiaNano ChallaTangerine, jasmine$14.95
76 | 77 | 78 | -------------------------------------------------------------------------------- /ch07/listing-7.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | A white coffee mug on a bed of coffee beans 13 | 14 | 15 | -------------------------------------------------------------------------------- /ch08/listing-8.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 27 | 28 | 29 |

normal link

30 |

Button link

31 | 32 | 33 | -------------------------------------------------------------------------------- /ch08/listing-8.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 27 | 28 | 29 |

normal link

30 |

Button link

31 | 32 | 33 | -------------------------------------------------------------------------------- /ch08/listing-8.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 29 | 30 | 31 |

normal link

32 |

Button link

33 | 34 | 35 | -------------------------------------------------------------------------------- /ch08/listing-8.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ch08/listing-8.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 41 | 42 | 43 |
44 |

normal link

45 |
46 |

A button link outside blog content

47 | 48 | 49 | -------------------------------------------------------------------------------- /ch08/listing-8.06.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 46 | 47 | 48 |

Example heading

49 | 50 | 51 | -------------------------------------------------------------------------------- /ch08/listing-8.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 61 | 62 | 63 |

Example heading

64 |
65 | 66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /ch08/listing-8.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 |

normal link

26 |

Button link

27 | 28 | 29 | -------------------------------------------------------------------------------- /ch08/listing-8.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 24 | 25 | 26 |
27 |

Sir Arthur Ignatius Conan Doyle

28 |
29 |

30 | A British writer and physician who created the fictional detective 31 | Sherlock Holmes. 32 |

33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /ch08/listing-8.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 24 | 25 | 26 |
27 |

Sir Arthur Ignatius Conan Doyle

28 |
29 |

30 | A British writer and physician who created the fictional detective 31 | Sherlock Holmes. 32 |

33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /ch08/listing-8.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | 22 |
23 |

Sir Arthur Ignatius Conan Doyle

24 |
25 |

26 | A British writer and physician who created the fictional detective 27 | Sherlock Holmes. 28 |

29 |
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /ch08/listing-8.17.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 23 | 24 | 25 |

Example heading

26 | 27 | 28 | -------------------------------------------------------------------------------- /ch08/listing-8.18.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ch08/listing-8.19.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 14 | 15 | 16 |

Example heading

17 | 18 | 19 | -------------------------------------------------------------------------------- /ch09/listing-9.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /ch09/listing-9.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 45 | 46 | 47 | 48 |
Save successful
49 | 50 | 51 | -------------------------------------------------------------------------------- /ch09/listing-9.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 53 | 54 | 55 | 56 |
Save successful
57 | 58 | 59 | -------------------------------------------------------------------------------- /ch09/listing-9.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 71 | 72 | 73 | 74 |
Save successful
75 | 76 |
Password strength: Weak
77 | 78 |
Invalid password
79 | 80 | 81 | -------------------------------------------------------------------------------- /ch09/listing-9.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 73 | 74 | 75 | 76 |
77 |
78 | Silhouette of a person running 83 |
84 |

Strength

85 |

86 | Strength training is an important part of injury prevention. Focus 87 | on your core— especially your abs and glutes. 88 |

89 |
90 |
91 |
92 | 93 | 94 | -------------------------------------------------------------------------------- /ch09/listing-9.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 77 | 78 | 79 | 80 |
81 |
82 | Silhouette of a person running 87 |
88 |

Strength

89 |

90 | Strength training is an important part of injury prevention. Focus 91 | on your core— especially your abs and glutes. 92 |

93 |
94 |
95 |
96 | 97 | 98 | -------------------------------------------------------------------------------- /ch09/listing-9.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 45 | 46 | 47 | 48 | 60 | 61 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /ch09/listing-9.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 73 | 74 | 75 | 76 |
77 | Silhouette of a person running 78 |
79 |

Strength

80 |

81 | Strength training is an important part of injury prevention. Focus on 82 | your core— especially your abs and glutes. 83 |

84 |
85 |
86 | 87 | 88 | -------------------------------------------------------------------------------- /ch09/listing-9.20.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 43 | 44 | 45 | 46 |
47 | 58 |
Save successful
59 |
60 |

This is out of scope.

61 | 62 | 63 | -------------------------------------------------------------------------------- /ch09/runner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch09/runner.png -------------------------------------------------------------------------------- /ch10/listing-10.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 |
12 |

Franklin Running Club

13 |
14 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ch10/listing-10.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 54 | 55 | 56 |
57 |

Franklin Running Club

58 |
59 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /ch10/listing-10.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 58 | 59 | 60 |
61 |

Franklin Running Club

62 |
63 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /ch10/listing-10.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 63 | 64 | 65 |
66 |

Franklin Running Club

67 |
68 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /ch10/race.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch10/race.jpg -------------------------------------------------------------------------------- /ch10/runner-hill.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch10/runner-hill.jpg -------------------------------------------------------------------------------- /ch10/runner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch10/runner.png -------------------------------------------------------------------------------- /ch10/shoe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch10/shoe.jpg -------------------------------------------------------------------------------- /ch11/collaboration.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch11/collaboration.jpg -------------------------------------------------------------------------------- /ch11/listing-11.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 20 | 21 |
22 |
23 |

Team collaboration done right

24 | Get started 25 |
26 |
27 | 28 |
29 |
30 |
31 |

Work together, even if you're apart

32 |

33 | Organize your team conversations into threads. Collaborate together 34 | on documents in real-time. Use face-to-face 35 | video calls when typing just 36 | won't do. 37 |

38 | Read more 39 |
40 | 41 |
42 |

Take it with you

43 |

44 | Ink is available on a wide array of devices, so you can work from 45 | anywhere: 46 |

47 |
    48 |
  • Web
  • 49 |
  • iOS
  • 50 |
  • Android
  • 51 |
  • Windows Phone
  • 52 |
53 | Read more 54 |
55 | 56 |
57 |

Priced right

58 |

59 | Whether you work on a team of three or a three hundred, you'll find 60 | our tiered pricing reasonable at every level. 61 |

62 | Read more 63 |
64 |
65 |
66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /ch12/collaboration.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch12/collaboration.jpg -------------------------------------------------------------------------------- /ch12/open-sans.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch12/open-sans.woff2 -------------------------------------------------------------------------------- /ch13/images/bear.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch13/images/bear.jpg -------------------------------------------------------------------------------- /ch13/images/scratches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch13/images/scratches.png -------------------------------------------------------------------------------- /ch13/listing-13.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /ch13/listing-13.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /ch13/listing-13.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /ch13/listing-13.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /ch13/listing-13.06.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /ch13/listing-13.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 13 | 14 | 15 |
16 | 17 | 18 | -------------------------------------------------------------------------------- /ch13/listing-13.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 17 | 18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /ch13/listing-13.09.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /ch13/listing-13.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /ch13/listing-13.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /ch13/listing-13.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ch13/listing-13.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ch13/listing-13.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /ch13/listing-13.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /ch13/listing-13.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /ch13/listing-13.17.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 25 | 26 | 27 |
28 |

Ursa major

29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /ch14/images/bird.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch14/images/bird.jpg -------------------------------------------------------------------------------- /ch14/images/eagle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch14/images/eagle.jpg -------------------------------------------------------------------------------- /ch14/images/star-mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch14/images/star-mask.png -------------------------------------------------------------------------------- /ch14/images/star-mask.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /ch14/listing-14.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 14 | Blue and orange bird perched on a branch 20 | 21 | 22 | -------------------------------------------------------------------------------- /ch14/listing-14.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 16 | Blue and orange bird perched on a branch 22 | 23 | 24 | -------------------------------------------------------------------------------- /ch14/listing-14.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 29 | 30 | 31 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /ch14/listing-14.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 32 | 33 | 34 |
35 |
36 |

Common Kingfisher

37 |

38 | The Common Kingfisher is a bird native found in Europe, Asia, and 39 | north Africa. It has bright blue plumage with an orange belly. 40 |

41 |
42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /ch14/listing-14.06.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 24 | 25 | 26 |
27 | 28 | 29 | -------------------------------------------------------------------------------- /ch14/listing-14.07.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 22 | 23 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /ch14/listing-14.08.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 23 | 24 | 25 |
26 | 27 | 28 | -------------------------------------------------------------------------------- /ch14/listing-14.10.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 | Golden Eagle 25 | 26 | 27 | -------------------------------------------------------------------------------- /ch14/listing-14.10b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 | Golden Eagle 25 | 26 | 27 | -------------------------------------------------------------------------------- /ch14/listing-14.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 | Golden Eagle 25 | 26 | 27 | -------------------------------------------------------------------------------- /ch14/listing-14.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 | Golden Eagle 25 | 26 | 27 | -------------------------------------------------------------------------------- /ch14/listing-14.12b.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | 20 | Golden Eagle 27 | 28 | 29 | -------------------------------------------------------------------------------- /ch14/listing-14.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 31 | 32 | 33 |
34 |
35 | Golden Eagle 36 |
37 |

Hope is the thing with feathers

38 |

Emily Dickinson

39 |

40 | “Hope” is the thing with feathers
41 | That perches in the soul,
42 | And sings the tune without the words,
43 | And never stops at all, 44 |

45 |

46 | And sweetest in the Gale is heard;
47 | And sore must be the storm
48 | That could abash the little bird
49 | That kept so many warm. 50 |

51 |

52 | I’ve heard it in the chillest land,
53 | And on the strangest sea;
54 | Yet, never, in extremity,
55 | It asked a crumb of me. 56 |

57 |
58 | 59 | 60 | -------------------------------------------------------------------------------- /ch14/listing-14.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 34 | 35 | 36 |
37 |
38 | Golden Eagle 39 |
40 |

Hope is the thing with feathers

41 |

Emily Dickinson

42 |

43 | “Hope” is the thing with feathers
44 | That perches in the soul,
45 | And sings the tune without the words,
46 | And never stops at all, 47 |

48 |

49 | And sweetest in the Gale is heard;
50 | And sore must be the storm
51 | That could abash the little bird
52 | That kept so many warm. 53 |

54 |

55 | I’ve heard it in the chillest land,
56 | And on the strangest sea;
57 | Yet, never, in extremity,
58 | It asked a crumb of me. 59 |

60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /ch14/listing-14.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 34 | 35 | 36 |
37 |
38 | Golden Eagle 39 |
40 |

Hope is the thing with feathers

41 |

Emily Dickinson

42 |

43 | “Hope” is the thing with feathers
44 | That perches in the soul,
45 | And sings the tune without the words,
46 | And never stops at all, 47 |

48 |

49 | And sweetest in the Gale is heard;
50 | And sore must be the storm
51 | That could abash the little bird
52 | That kept so many warm. 53 |

54 |

55 | I’ve heard it in the chillest land,
56 | And on the strangest sea;
57 | Yet, never, in extremity,
58 | It asked a crumb of me. 59 |

60 |
61 | 62 | 63 | -------------------------------------------------------------------------------- /ch14/listing-14.17.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 33 | 34 | 35 |
36 |
37 | Golden Eagle 38 |
39 |

Hope is the thing with feathers

40 |

Emily Dickinson

41 |

42 | “Hope” is the thing with feathers
43 | That perches in the soul,
44 | And sings the tune without the words,
45 | And never stops at all, 46 |

47 |

48 | And sweetest in the Gale is heard;
49 | And sore must be the storm
50 | That could abash the little bird
51 | That kept so many warm. 52 |

53 |

54 | I’ve heard it in the chillest land,
55 | And on the strangest sea;
56 | Yet, never, in extremity,
57 | It asked a crumb of me. 58 |

59 |
60 | 61 | 62 | -------------------------------------------------------------------------------- /ch15/listing-15.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ch15/listing-15.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 |
26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /ch15/listing-15.05.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 |
26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /ch15/listing-15.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ch16/images/chicken1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch16/images/chicken1.jpg -------------------------------------------------------------------------------- /ch16/images/chicken2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch16/images/chicken2.jpg -------------------------------------------------------------------------------- /ch16/images/chicken3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch16/images/chicken3.jpg -------------------------------------------------------------------------------- /ch16/images/chicken4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch16/images/chicken4.jpg -------------------------------------------------------------------------------- /ch16/images/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ch16/images/members.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ch16/images/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ch16/listing-16.02.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 27 | 28 | 29 |
30 | a chicken 31 |

Mrs. Featherstone

32 |

33 | She may be a bit frumpy, but Mrs. Featherstone gets the job done. She 34 | lays her largish cream-colored eggs on a daily basis. She is gregarious 35 | to a fault. 36 |

37 |

This Austra White is our most prolific producer.

38 |
39 | 40 | 41 | -------------------------------------------------------------------------------- /ch16/listing-16.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 27 | 28 | 29 |
30 | a chicken 31 |

Mrs. Featherstone

32 |

33 | She may be a bit frumpy, but Mrs. Featherstone gets the job done. She 34 | lays her largish cream-colored eggs on a daily basis. She is gregarious 35 | to a fault. 36 |

37 |

This Austra White is our most prolific producer.

38 |
39 | 40 | 41 | -------------------------------------------------------------------------------- /ch16/listing-16.04.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 28 | 29 | 30 |
31 | a chicken 32 |

Mrs. Featherstone

33 |

34 | She may be a bit frumpy, but Mrs. Featherstone gets the job done. She 35 | lays her largish cream-colored eggs on a daily basis. She is gregarious 36 | to a fault. 37 |

38 |

This Austra White is our most prolific producer.

39 |
40 | 41 | 42 | -------------------------------------------------------------------------------- /ch16/listing-16.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 20 | 21 | 22 |
23 |
One
24 |
Two
25 |
Three
26 |
Four
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /ch16/listing-16.14.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 22 | 23 |
24 |
One
25 |
Two
26 |
Three
27 |
Four
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /ch16/listing-16.15.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 |
25 |
One
26 |
Two
27 |
Three
28 |
Four
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /ch17/images/chicken1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch17/images/chicken1.jpg -------------------------------------------------------------------------------- /ch17/images/chicken2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch17/images/chicken2.jpg -------------------------------------------------------------------------------- /ch17/images/chicken3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch17/images/chicken3.jpg -------------------------------------------------------------------------------- /ch17/images/chicken4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/ch17/images/chicken4.jpg -------------------------------------------------------------------------------- /ch17/images/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ch17/images/members.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ch17/images/star.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ch17/listing-17.03.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 29 | 30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /ch17/listing-17.11.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 37 | 38 | 39 |
40 | 41 | 42 | 43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /ch17/listing-17.12.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 65 | 66 | 67 |
68 | 69 | 70 | 71 |
72 | 73 | 74 | -------------------------------------------------------------------------------- /ch17/listing-17.13.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 65 | 66 | 67 | 78 | 79 |
80 | 81 | 82 | 83 |
84 | 85 | 86 | -------------------------------------------------------------------------------- /ch17/listing-17.16.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 32 | 33 | 34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CSSInDepth/css-in-depth-2/43814baa7b3208b299cfd2e9ccd4cbba355ef26e/cover.png -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "css-in-depth-2", 3 | "lockfileVersion": 3, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "dependencies": { 8 | "prettier": "^3.1.0" 9 | } 10 | }, 11 | "node_modules/prettier": { 12 | "version": "3.1.0", 13 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz", 14 | "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==", 15 | "bin": { 16 | "prettier": "bin/prettier.cjs" 17 | }, 18 | "engines": { 19 | "node": ">=14" 20 | }, 21 | "funding": { 22 | "url": "https://github.com/prettier/prettier?sponsor=1" 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "prettier": "prettier --check */*.html", 4 | "prettier:fix": "prettier --write */*.html" 5 | }, 6 | "dependencies": { 7 | "prettier": "^3.1.0" 8 | } 9 | } 10 | --------------------------------------------------------------------------------