├── .gitignore
├── README.md
├── appendixB
├── build
│ ├── styles.css
│ └── styles.css.map
├── package.json
└── sass
│ ├── button.scss
│ └── index.scss
├── ch01
├── listing-1.10.html
├── listing-1.11.html
├── listing-1.12.html
├── listing-1.13.html
├── listing-1.15.html
├── listing-1.16.html
├── listing-1.17.html
├── listing-1.18.html
├── listing-1.19.html
├── listing-1.2.html
├── listing-1.20.html
├── listing-1.21.html
├── listing-1.3.html
├── listing-1.4.html
├── listing-1.5.html
├── listing-1.7.html
├── listing-1.8.html
├── listing-1.9.html
└── mug.png
├── ch02
├── listing-2.1.html
├── listing-2.10.html
├── listing-2.14.html
├── listing-2.15-figure.html
├── listing-2.15.html
├── listing-2.16.html
├── listing-2.18.html
├── listing-2.19.html
├── listing-2.21.html
├── listing-2.22.html
├── listing-2.24.html
├── listing-2.25.html
├── listing-2.26.html
├── listing-2.28.html
├── listing-2.29.html
├── listing-2.3.html
├── listing-2.31.html
├── listing-2.5.html
├── listing-2.6.html
├── listing-2.7.html
└── listing-2.9.html
├── ch03
├── listing-3.10.html
├── listing-3.11.html
├── listing-3.12.html
├── listing-3.13.html
├── listing-3.14.html
├── listing-3.16.html
├── listing-3.16b.html
├── listing-3.17.html
├── listing-3.19.html
├── listing-3.2.html
├── listing-3.20.html
├── listing-3.21.html
├── listing-3.3.html
├── listing-3.4.html
├── listing-3.6.html
├── listing-3.7.html
├── listing-3.8.html
└── listing-3.9.html
├── ch04
├── listing-4.10.html
├── listing-4.11.html
├── listing-4.14.html
├── listing-4.15.html
├── listing-4.16.html
├── listing-4.17.html
├── listing-4.18.html
├── listing-4.2.html
├── listing-4.3.html
├── listing-4.4.html
├── listing-4.5.html
├── listing-4.6.html
├── listing-4.7.html
├── listing-4.8.html
├── listing-4.9.html
├── runner.png
└── shoes.png
├── ch05
├── listing-5.10.html
├── listing-5.11.html
├── listing-5.2.html
├── listing-5.3.html
├── listing-5.4.html
├── listing-5.5.html
├── listing-5.6.html
├── listing-5.7.html
├── listing-5.8.html
├── listing-5.9-before.html
└── listing-5.9.html
├── ch06
├── images
│ ├── bear.jpg
│ ├── bird.jpg
│ ├── eagle.jpg
│ ├── elephants.jpg
│ ├── monkey.jpg
│ ├── owl.jpg
│ └── swan.jpg
├── listing-6.10.html
├── listing-6.11.html
├── listing-6.12.html
├── listing-6.2.html
├── listing-6.4.html
├── listing-6.5.html
├── listing-6.6.html
├── listing-6.7.html
└── listing-6.9.html
├── ch07
├── listing-7.10.html
├── listing-7.12.html
├── listing-7.2.html
├── listing-7.3.html
├── listing-7.4.html
├── listing-7.6.html
├── listing-7.7.html
└── listing-7.8.html
├── ch08
├── coffee-beans-medium.jpg
├── coffee-beans-small.jpg
├── coffee-beans.jpg
├── 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.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
├── ch09
├── listing-9.01.html
├── listing-9.03.html
├── listing-9.04.html
├── listing-9.06.html
├── listing-9.08.html
├── listing-9.10.html
├── listing-9.12.html
├── listing-9.13.html
├── listing-9.14.html
└── runner.png
├── ch10
├── .gitignore
├── README.md
├── css
│ ├── homepage.md
│ └── styles.css
├── docs
│ ├── index.html
│ ├── kss-assets
│ │ ├── WARNING.txt
│ │ ├── github-fork--black.png
│ │ ├── kss.css
│ │ ├── kss.js
│ │ ├── kss.scss
│ │ ├── noise-low.png
│ │ ├── prettify.js
│ │ ├── sample-inline.png
│ │ ├── sample-inline.svg
│ │ ├── sample.png
│ │ ├── sample.svg
│ │ └── scrollspy.js
│ ├── section-buttons.html
│ ├── section-dropdown.html
│ ├── section-media.html
│ ├── section-menu.html
│ ├── section-message.html
│ └── section-utilities.html
├── js
│ └── docs.js
├── kss-config.json
└── package.json
├── ch11
├── images
│ ├── bear.jpg
│ ├── elephants.jpg
│ └── scratches.png
├── listing-11.01.html
├── listing-11.03.html
├── listing-11.04.html
├── listing-11.05.html
├── listing-11.06.html
├── listing-11.07.html
├── listing-11.09.html
├── listing-11.10.html
├── listing-11.11.html
├── listing-11.13.html
├── listing-11.14.html
├── listing-11.15.html
└── listing-11.17.html
├── ch12
├── collaboration.jpg
├── listing-12.10.html
├── listing-12.11.html
├── listing-12.12.html
├── listing-12.2.html
├── listing-12.3.html
├── listing-12.4.html
├── listing-12.5.html
├── listing-12.6.html
├── listing-12.7.html
├── listing-12.8.html
└── listing-12.9.html
├── ch13
├── collaboration.jpg
├── fontfaceobserver.js
├── listing-13.10.html
├── listing-13.11.html
├── listing-13.2.html
├── listing-13.3.css
├── listing-13.6.html
├── listing-13.7.html
├── listing-13.8.html
└── listing-13.9.html
├── ch14
├── listing-14.10.html
├── listing-14.12.html
├── listing-14.2.html
├── listing-14.3.html
├── listing-14.5.html
├── listing-14.6.html
├── listing-14.8.html
└── listing-14.9.html
├── ch15
├── images
│ ├── calendar.svg
│ ├── chicken1.jpg
│ ├── chicken2.jpg
│ ├── chicken3.jpg
│ ├── chicken4.jpg
│ ├── home.svg
│ ├── members.svg
│ └── star.svg
├── listing-15.02.html
├── listing-15.03.html
├── listing-15.05.html
├── listing-15.06.html
├── listing-15.07.html
├── listing-15.08.html
├── listing-15.09.html
├── listing-15.10.html
├── listing-15.12.html
├── listing-15.13.html
├── listing-15.14.html
└── listing-15.15.html
├── ch16
├── images
│ ├── calendar.svg
│ ├── chicken1.jpg
│ ├── chicken2.jpg
│ ├── chicken3.jpg
│ ├── chicken4.jpg
│ ├── home.svg
│ ├── members.svg
│ └── star.svg
├── listing-16.10.html
├── listing-16.12.html
├── listing-16.13.html
├── listing-16.14.html
├── listing-16.15.html
├── listing-16.16.html
├── listing-16.3.html
├── listing-16.5.html
├── listing-16.6.html
├── listing-16.7.html
├── listing-16.8.html
└── listing-16.9.html
└── cover.png
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .sass-cache
3 | .DS_Store
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CSS in Depth
2 |
3 | Code listings from [CSS In Depth](https://manning.com/books/css-in-depth) by Keith J. Grant
4 |
5 | _Note: These listings are for the first edition. For second edition listings, see [the second edition repository](https://github.com/cssindepth/css-in-depth-2)._
6 |
7 | At first glance, it may appear that some listings are missing—Because working examples requires both HTML and CSS, I have put most listings in an HTML file, using
31 |
32 |
33 |
44 |
45 |
--------------------------------------------------------------------------------
/ch01/listing-1.11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
44 |
45 |
46 | Be sure to check out
47 | our specials .
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/ch01/listing-1.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
48 |
49 |
50 |
61 |
62 |
--------------------------------------------------------------------------------
/ch01/listing-1.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
52 |
53 |
54 |
65 |
66 |
--------------------------------------------------------------------------------
/ch01/listing-1.15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
65 |
66 |
67 |
78 |
82 |
83 |
--------------------------------------------------------------------------------
/ch01/listing-1.16.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
65 |
66 |
67 |
78 |
82 |
83 |
--------------------------------------------------------------------------------
/ch01/listing-1.17.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
70 |
71 |
72 |
83 |
87 |
88 |
--------------------------------------------------------------------------------
/ch01/listing-1.18.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
76 |
77 |
78 |
89 |
93 |
94 |
--------------------------------------------------------------------------------
/ch01/listing-1.19.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
66 |
67 |
68 |
79 |
83 |
84 |
--------------------------------------------------------------------------------
/ch01/listing-1.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
29 |
30 |
--------------------------------------------------------------------------------
/ch01/listing-1.20.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
66 |
67 |
68 |
79 |
83 |
84 |
--------------------------------------------------------------------------------
/ch01/listing-1.21.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
67 |
68 |
69 |
80 |
84 |
85 |
--------------------------------------------------------------------------------
/ch01/listing-1.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
27 |
28 |
29 |
40 |
41 |
--------------------------------------------------------------------------------
/ch01/listing-1.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
27 |
28 |
29 |
40 |
41 |
--------------------------------------------------------------------------------
/ch01/listing-1.5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
44 |
45 |
--------------------------------------------------------------------------------
/ch01/listing-1.7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
44 |
45 |
--------------------------------------------------------------------------------
/ch01/listing-1.8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
44 |
45 |
--------------------------------------------------------------------------------
/ch01/listing-1.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
44 |
45 |
--------------------------------------------------------------------------------
/ch01/mug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch01/mug.png
--------------------------------------------------------------------------------
/ch02/listing-2.1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 |
10 |
11 |
12 |
13 | We have built partnerships with small farms around the world to
14 | hand-select beans at the peak of season. We then carefully roast in
small batches to maximize their potential.
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ch02/listing-2.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 | Top level
17 |
18 | Second level
19 |
20 | Third level
21 |
22 | Fourth level
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/ch02/listing-2.14.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
32 | in
small batches to maximize their
33 | potential.
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/ch02/listing-2.15-figure.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
30 |
31 |
32 |
33 |
34 |
35 |
Single-origin
36 |
37 | We have built partnerships with small farms around the world to
38 | hand-select beans at the peak of season. We then carefully roast
39 | in
small batches to maximize their
40 | potential.
41 |
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
50 | in
small batches to maximize their
51 | potential.
52 |
53 |
54 |
55 |
56 |
57 |
Single-origin
58 |
59 | We have built partnerships with small farms around the world to
60 | hand-select beans at the peak of season. We then carefully roast
61 | in
small batches to maximize their
62 | potential.
63 |
64 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/ch02/listing-2.15.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
42 | in
small batches to maximize their
43 | potential.
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/ch02/listing-2.16.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
48 | in
small batches to maximize their
49 | potential.
50 |
51 |
52 |
53 |
Single-origin
54 |
55 | We have built partnerships with small farms around the world to
56 | hand-select beans at the peak of season. We then carefully roast
57 | in
small batches to maximize their
58 | potential.
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/ch02/listing-2.18.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ch02/listing-2.19.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
30 |
31 |
32 |
33 |
34 |
Single-origin
35 |
36 | We have built partnerships with small farms around the world to
37 | hand-select beans at the peak of season. We then carefully roast
38 | in
small batches to maximize their
39 | potential.
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ch02/listing-2.21.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 | We have built partnerships with small farms around the world to
17 | hand-select beans at the peak of season. We then carefully roast in
18 | small batches to maximize their potential.
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ch02/listing-2.22.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 | We have built partnerships with small farms around the world to
17 | hand-select beans at the peak of season. We then carefully roast in
18 | small batches to maximize their potential.
19 |
20 |
21 |
--------------------------------------------------------------------------------
/ch02/listing-2.24.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 | We have built partnerships with small farms around the world to
17 | hand-select beans at the peak of season. We then carefully roast
18 | in small batches to maximize their
19 | potential.
20 |
21 |
22 |
--------------------------------------------------------------------------------
/ch02/listing-2.25.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
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
20 | in small batches to maximize their
21 | potential.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ch02/listing-2.26.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
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
20 | in small batches to maximize their
21 | potential.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ch02/listing-2.28.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
34 |
35 |
36 |
37 |
38 |
Single-origin
39 |
40 | We have built partnerships with small farms
41 | around the world to hand-select beans at the
42 | peak of season. We then carefully roast in
43 | small batches to maximize their potential.
44 |
45 |
46 |
47 |
58 |
59 |
--------------------------------------------------------------------------------
/ch02/listing-2.29.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 |
Single-origin
47 |
48 | We have built partnerships with small farms
49 | around the world to hand-select beans at the
50 | peak of season. We then carefully roast in
51 | small batches to maximize their potential.
52 |
53 |
54 |
55 |
66 |
67 |
--------------------------------------------------------------------------------
/ch02/listing-2.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
23 |
24 |
25 |
26 | Small
27 | Large
28 |
29 |
--------------------------------------------------------------------------------
/ch02/listing-2.31.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 |
Single-origin
47 |
48 | We have built partnerships with small farms
49 | around the world to hand-select beans at the
50 | peak of season. We then carefully roast in
51 | small batches to maximize their potential.
52 |
53 |
54 |
55 |
66 |
67 |
76 |
77 |
--------------------------------------------------------------------------------
/ch02/listing-2.5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 | We love coffee
16 | We love coffee
17 |
18 |
--------------------------------------------------------------------------------
/ch02/listing-2.6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 | We love coffee
18 |
19 |
--------------------------------------------------------------------------------
/ch02/listing-2.7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
12 |
13 |
14 |
15 |
16 | Top level
17 |
18 | Second level
19 |
20 | Third level
21 |
22 | Fourth level
23 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/ch02/listing-2.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
18 |
19 |
20 | Top level
21 |
22 | Second level
23 |
24 | Third level
25 |
26 | Fourth level
27 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/ch03/listing-3.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
52 |
53 |
54 |
55 |
56 | Franklin Running Club
57 |
58 |
59 |
60 |
61 | Come join us!
62 |
63 | The Franklin Running club meets at 6:00pm every Thursday
64 | at the town square. Runs are three to five miles, at your
65 | own pace.
66 |
67 |
68 |
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/ch03/listing-3.11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
44 |
45 |
46 |
47 |
48 | Franklin Running Club
49 |
50 |
51 |
52 | Come join us!
53 |
54 | The Franklin Running club meets at 6:00pm every Thursday
55 | at the town square. Runs are three to five miles, at your
56 | own pace.
57 |
58 |
59 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/ch03/listing-3.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
28 |
29 |
30 |
31 |
32 | Franklin Running Club
33 |
34 |
35 |
--------------------------------------------------------------------------------
/ch03/listing-3.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
44 |
45 |
46 |
47 |
48 | Franklin Running Club
49 |
50 |
51 |
52 | Come join us!
53 |
54 |
55 | The Franklin Running club meets at 6:00pm every Thursday
56 | at the town square. Runs are three to five miles, at your
57 | own pace.
58 |
59 |
60 |
61 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/ch03/listing-3.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
45 |
46 |
47 |
48 |
49 | Franklin Running Club
50 |
51 |
52 |
53 | Come join us!
54 |
55 | The Franklin Running club meets at 6:00pm every Thursday
56 | at the town square. Runs are three to five miles, at your
57 | own pace.
58 |
59 |
60 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/ch03/listing-3.16.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
55 |
56 |
57 |
58 |
59 | Franklin Running Club
60 |
61 |
62 |
63 | Come join us!
64 |
65 | The Franklin Running club meets at 6:00pm every Thursday
66 | at the town square. Runs are three to five miles, at your
67 | own pace.
68 |
69 |
70 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/ch03/listing-3.16b.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
56 |
57 |
58 |
59 |
60 | Franklin Running Club
61 |
62 |
63 |
64 | Come join us!
65 |
66 | The Franklin Running club meets at 6:00pm every Thursday
67 | at the town square. Runs are three to five miles, at your
68 | own pace.
69 |
70 |
71 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/ch03/listing-3.17.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
59 |
60 |
61 |
62 |
63 | Franklin Running Club
64 |
65 |
66 |
67 | Come join us!
68 |
69 | The Franklin Running club meets at 6:00pm every Thursday
70 | at the town square. Runs are three to five miles, at your
71 | own pace.
72 |
73 |
74 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/ch03/listing-3.19.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
66 |
67 |
68 |
69 |
70 | Franklin Running Club
71 |
72 |
73 |
74 | Come join us!
75 |
76 | The Franklin Running club meets at 6:00pm every Thursday
77 | at the town square. Runs are three to five miles, at your
78 | own pace.
79 |
80 |
81 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ch03/listing-3.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
27 |
28 |
29 |
30 |
31 | Franklin Running Club
32 |
33 |
34 |
35 | Come join us!
36 |
37 | The Franklin Running club meets at 6:00pm every Thursday
38 | at the town square. Runs are three to five miles, at your
39 | own pace.
40 |
41 |
42 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/ch03/listing-3.20.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
66 |
67 |
68 |
69 |
70 | Franklin Running Club
71 |
72 |
73 |
74 | Come join us!
75 |
76 | The Franklin Running club meets at 6:00pm every Thursday
77 | at the town square. Runs are three to five miles, at your
78 | own pace.
79 |
80 |
81 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/ch03/listing-3.21.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
68 |
69 |
70 |
71 |
72 | Franklin Running Club
73 |
74 |
75 |
76 | Come join us!
77 |
78 | The Franklin Running club meets at 6:00pm every Thursday
79 | at the town square. Runs are three to five miles, at your
80 | own pace.
81 |
82 |
83 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/ch03/listing-3.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
34 |
35 | Franklin Running Club
36 |
37 |
38 |
39 | Come join us!
40 |
41 | The Franklin Running club meets at 6:00pm every Thursday
42 | at the town square. Runs are three to five miles, at your
43 | own pace.
44 |
45 |
46 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/ch03/listing-3.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
33 |
34 |
35 |
36 |
37 | Franklin Running Club
38 |
39 |
40 |
41 | Come join us!
42 |
43 | The Franklin Running club meets at 6:00pm every Thursday
44 | at the town square. Runs are three to five miles, at your
45 | own pace.
46 |
47 |
48 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/ch03/listing-3.6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
41 |
42 |
43 |
44 |
45 | Franklin Running Club
46 |
47 |
48 |
49 | Come join us!
50 |
51 | The Franklin Running club meets at 6:00pm every Thursday
52 | at the town square. Runs are three to five miles, at your
53 | own pace.
54 |
55 |
56 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/ch03/listing-3.7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 | Franklin Running Club
47 |
48 |
49 |
50 | Come join us!
51 |
52 | The Franklin Running club meets at 6:00pm every Thursday
53 | at the town square. Runs are three to five miles, at your
54 | own pace.
55 |
56 |
57 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/ch03/listing-3.8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 | Franklin Running Club
47 |
48 |
49 |
50 | Come join us!
51 |
52 | The Franklin Running club meets at 6:00pm every Thursday
53 | at the town square. Runs are three to five miles, at your
54 | own pace.
55 |
56 |
57 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/ch03/listing-3.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
47 |
48 |
49 |
50 |
51 | Franklin Running Club
52 |
53 |
54 |
55 | Come join us!
56 |
57 | The Franklin Running club meets at 6:00pm every Thursday
58 | at the town square. Runs are three to five miles, at your
59 | own pace.
60 |
61 |
62 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/ch04/listing-4.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
38 |
39 |
40 |
41 |
42 |
43 | Franklin Running Club
44 |
45 |
46 |
47 | Running tips
48 |
49 |
50 |
61 |
62 |
72 |
73 |
84 |
85 |
96 |
97 |
98 |
99 |
100 |
101 |
--------------------------------------------------------------------------------
/ch04/listing-4.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 |
47 | Franklin Running Club
48 |
49 |
50 |
51 | Running tips
52 |
53 |
54 |
65 |
66 |
76 |
77 |
88 |
89 |
100 |
101 |
102 |
103 |
104 |
105 |
--------------------------------------------------------------------------------
/ch04/listing-4.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
50 |
51 |
52 |
53 |
54 |
55 | Franklin Running Club
56 |
57 |
58 |
59 | Running tips
60 |
61 |
62 |
73 |
74 |
84 |
85 |
96 |
97 |
108 |
109 |
110 |
111 |
112 |
113 |
--------------------------------------------------------------------------------
/ch04/listing-4.5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
50 |
51 |
52 |
53 |
54 |
55 | Franklin Running Club
56 |
57 |
58 |
59 | Running tips
60 |
61 |
62 |
73 |
74 |
84 |
85 |
96 |
97 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/ch04/listing-4.6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
56 |
57 |
58 |
59 |
60 |
61 | Franklin Running Club
62 |
63 |
64 |
65 | Running tips
66 |
67 |
68 |
79 |
80 |
90 |
91 |
102 |
103 |
114 |
115 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/ch04/listing-4.7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
59 |
60 |
61 |
62 |
63 |
64 | Franklin Running Club
65 |
66 |
67 |
68 | Running tips
69 |
70 |
71 |
82 |
83 |
93 |
94 |
105 |
106 |
117 |
118 |
119 |
120 |
121 |
--------------------------------------------------------------------------------
/ch04/runner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch04/runner.png
--------------------------------------------------------------------------------
/ch04/shoes.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch04/shoes.png
--------------------------------------------------------------------------------
/ch05/listing-5.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
28 |
29 |
30 |
31 |
32 |
35 |
36 |
45 |
46 |
47 |
48 |
Team collaboration done right
49 |
Thousands of teams from all over the
50 | world turn to Ink to communicate
51 | and get things done.
52 |
53 |
82 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/ch05/listing-5.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
46 |
47 |
48 |
49 |
50 |
53 |
54 |
63 |
64 |
65 |
66 |
Team collaboration done right
67 |
Thousands of teams from all over the
68 | world turn to Ink to communicate
69 | and get things done.
70 |
71 |
100 |
101 |
102 |
103 |
--------------------------------------------------------------------------------
/ch05/listing-5.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
49 |
50 |
51 |
52 |
53 |
56 |
57 |
66 |
67 |
68 |
69 |
Team collaboration done right
70 |
Thousands of teams from all over the
71 | world turn to Ink to communicate
72 | and get things done.
73 |
74 |
103 |
104 |
105 |
106 |
--------------------------------------------------------------------------------
/ch05/listing-5.5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
57 |
58 |
59 |
60 |
61 |
64 |
65 |
74 |
75 |
76 |
77 |
Team collaboration done right
78 |
Thousands of teams from all over the
79 | world turn to Ink to communicate
80 | and get things done.
81 |
82 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/ch06/images/bear.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/bear.jpg
--------------------------------------------------------------------------------
/ch06/images/bird.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/bird.jpg
--------------------------------------------------------------------------------
/ch06/images/eagle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/eagle.jpg
--------------------------------------------------------------------------------
/ch06/images/elephants.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/elephants.jpg
--------------------------------------------------------------------------------
/ch06/images/monkey.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/monkey.jpg
--------------------------------------------------------------------------------
/ch06/images/owl.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/owl.jpg
--------------------------------------------------------------------------------
/ch06/images/swan.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch06/images/swan.jpg
--------------------------------------------------------------------------------
/ch06/listing-6.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | Monkey
55 |
56 |
57 |
58 | Eagle
59 |
60 |
61 |
62 | Bird
63 |
64 |
65 |
66 | Bear
67 |
68 |
69 |
70 | Swan
71 |
72 |
73 |
74 | Elephants
75 |
76 |
77 |
78 | Owl
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/ch06/listing-6.11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | Monkey
59 |
60 |
61 |
62 | Eagle
63 |
64 |
65 |
66 | Bird
67 |
68 |
69 |
70 | Bear
71 |
72 |
73 |
74 | Swan
75 |
76 |
77 |
78 | Elephants
79 |
80 |
81 |
82 | Owl
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/ch06/listing-6.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Monkey
70 |
71 |
72 |
73 | Eagle
74 |
75 |
76 |
77 | Bird
78 |
79 |
80 |
81 | Bear
82 |
83 |
84 |
85 | Swan
86 |
87 |
88 |
89 | Elephants
90 |
91 |
92 |
93 | Owl
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/ch06/listing-6.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
28 |
29 |
30 |
31 |
a
32 |
b
33 |
c
34 |
d
35 |
e
36 |
f
37 |
38 |
39 |
--------------------------------------------------------------------------------
/ch06/listing-6.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
68 |
69 |
78 |
79 |
80 | Team collaboration done right
81 | Thousands of teams from all over the
82 | world turn to Ink to communicate
83 | and get things done.
84 |
85 |
101 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/ch06/listing-6.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | Monkey
49 |
50 |
51 |
52 | Eagle
53 |
54 |
55 |
56 | Bird
57 |
58 |
59 |
60 | Bear
61 |
62 |
63 |
64 | Swan
65 |
66 |
67 |
68 | Elephants
69 |
70 |
71 |
72 | Owl
73 |
74 |
75 |
76 |
--------------------------------------------------------------------------------
/ch07/listing-7.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
61 |
62 |
63 |
64 |
65 | one
66 |
nested
67 |
68 | two
69 | three
70 |
71 |
--------------------------------------------------------------------------------
/ch07/listing-7.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
56 |
57 |
58 |
59 |
67 |
68 |
69 |
70 |
close
71 |
Wombat Newsletter
72 |
Sign up for our monthly newsletter. No spam.
73 | We promise!
74 |
81 |
82 |
83 |
84 |
99 |
100 |
--------------------------------------------------------------------------------
/ch07/listing-7.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
60 |
61 |
62 |
63 |
71 |
72 |
73 |
74 |
close
75 |
Wombat Newsletter
76 |
Sign up for our monthly newsletter. No spam.
77 | We promise!
78 |
85 |
86 |
87 |
88 |
103 |
104 |
--------------------------------------------------------------------------------
/ch07/listing-7.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
77 |
78 |
79 |
80 |
88 |
89 |
90 |
91 |
92 | close
93 |
94 |
Wombat Newsletter
95 |
Sign up for our monthly newsletter. No spam.
96 | We promise!
97 |
104 |
105 |
106 |
107 |
122 |
123 |
--------------------------------------------------------------------------------
/ch08/coffee-beans-medium.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch08/coffee-beans-medium.jpg
--------------------------------------------------------------------------------
/ch08/coffee-beans-small.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch08/coffee-beans-small.jpg
--------------------------------------------------------------------------------
/ch08/coffee-beans.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch08/coffee-beans.jpg
--------------------------------------------------------------------------------
/ch08/listing-8.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Responsive table example
7 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | Country
46 | Region/Farm
47 | Tasting notes
48 | Price
49 |
50 |
51 |
52 |
53 | Nicaragua
54 | Matagulpa
55 | Dark chocolate, almond
56 | $13.95
57 |
58 |
59 | Ethiopia
60 | Yirgacheffe
61 | Sweet tea, blueberry
62 | $15.95
63 |
64 |
65 | Ethiopia
66 | Nano Challa
67 | Tangerine, jasmine
68 | $14.95
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/ch08/listing-8.16.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Responsive image example
7 |
12 |
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ch09/listing-9.01.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ch09/listing-9.03.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
29 |
30 |
31 |
32 |
33 | Save successful
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/ch09/listing-9.04.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
47 |
48 |
49 |
50 |
51 | Save successful
52 |
53 |
54 |
55 | Password strength: Weak
56 |
57 |
58 |
59 | Invalid password
60 |
61 |
62 |
--------------------------------------------------------------------------------
/ch09/listing-9.06.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
75 |
76 |
77 |
78 | Read more
79 | Save
80 | Cancel
81 |
82 |
--------------------------------------------------------------------------------
/ch09/listing-9.08.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
46 |
47 |
48 |
49 |
60 |
61 |
--------------------------------------------------------------------------------
/ch09/listing-9.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
50 |
51 |
52 |
53 |
64 |
65 |
--------------------------------------------------------------------------------
/ch09/listing-9.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
60 |
61 |
62 |
63 |
64 |
Main Menu
65 |
66 |
73 |
74 |
75 |
76 |
86 |
87 |
--------------------------------------------------------------------------------
/ch09/listing-9.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
83 |
84 |
85 |
86 |
87 |
Main Menu
88 |
89 |
96 |
97 |
98 |
99 |
109 |
110 |
--------------------------------------------------------------------------------
/ch09/listing-9.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
43 |
44 |
45 |
46 |
47 | Centered text
48 |
49 |
50 |
51 | A paragraph that, if long enough, would wrap around the image.
52 |
53 |
54 |
--------------------------------------------------------------------------------
/ch09/runner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch09/runner.png
--------------------------------------------------------------------------------
/ch10/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 |
--------------------------------------------------------------------------------
/ch10/README.md:
--------------------------------------------------------------------------------
1 | The listing example for this chapter is a bit different. This is a complete KSS pattern library. All the styles from the chapter, as well as some others from Chapter 9, are included in css/styles.css, along with their documentation comments.
2 |
3 | To install, run `npm install` at the command line. Run `npm run build` to build a fresh version of the pattern library. Then open docs/index.html in your browser.
4 |
--------------------------------------------------------------------------------
/ch10/css/homepage.md:
--------------------------------------------------------------------------------
1 | # Pattern library
2 |
3 | This is a collection of all the modules in our
4 | stylesheet. You may use any of these modules when
5 | constructing a page.
6 |
--------------------------------------------------------------------------------
/ch10/docs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | My pattern library
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
62 |
63 |
64 |
Pattern library
65 |
This is a collection of all the modules in our
66 | stylesheet. You may use any of these modules when
67 | constructing a page.
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/WARNING.txt:
--------------------------------------------------------------------------------
1 | WARNING: This folder is deleted and re-recreated each time the style guide is
2 | built. Do NOT put your own files in this folder.
3 |
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/github-fork--black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch10/docs/kss-assets/github-fork--black.png
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/kss.js:
--------------------------------------------------------------------------------
1 | (function() {
2 | var KssStateGenerator;
3 |
4 | KssStateGenerator = (function() {
5 | var pseudo_selectors;
6 |
7 | pseudo_selectors = ['hover', 'enabled', 'disabled', 'active', 'visited', 'focus', 'target', 'checked', 'empty', 'first-of-type', 'last-of-type', 'first-child', 'last-child'];
8 |
9 | function KssStateGenerator() {
10 | var idx, idxs, pseudos, replaceRule, rule, stylesheet, _i, _len, _len2, _ref, _ref2;
11 | pseudos = new RegExp("(\\:" + (pseudo_selectors.join('|\\:')) + ")", "g");
12 | try {
13 | _ref = document.styleSheets;
14 | for (_i = 0, _len = _ref.length; _i < _len; _i++) {
15 | stylesheet = _ref[_i];
16 | if (stylesheet.href && stylesheet.href.indexOf(document.domain) >= 0) {
17 | idxs = [];
18 | _ref2 = stylesheet.cssRules;
19 | for (idx = 0, _len2 = _ref2.length; idx < _len2; idx++) {
20 | rule = _ref2[idx];
21 | if ((rule.type === CSSRule.STYLE_RULE) && pseudos.test(rule.selectorText)) {
22 | replaceRule = function(matched, stuff) {
23 | return matched.replace(/\:/g, '.pseudo-class-');
24 | };
25 | this.insertRule(rule.cssText.replace(pseudos, replaceRule));
26 | }
27 | pseudos.lastIndex = 0;
28 | }
29 | }
30 | }
31 | } catch (_error) {}
32 | }
33 |
34 | KssStateGenerator.prototype.insertRule = function(rule) {
35 | var headEl, styleEl;
36 | headEl = document.getElementsByTagName('head')[0];
37 | styleEl = document.createElement('style');
38 | styleEl.type = 'text/css';
39 | if (styleEl.styleSheet) {
40 | styleEl.styleSheet.cssText = rule;
41 | } else {
42 | styleEl.appendChild(document.createTextNode(rule));
43 | }
44 | return headEl.appendChild(styleEl);
45 | };
46 |
47 | return KssStateGenerator;
48 |
49 | })();
50 |
51 | new KssStateGenerator;
52 |
53 | }).call(this);
54 |
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/noise-low.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch10/docs/kss-assets/noise-low.png
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/sample-inline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch10/docs/kss-assets/sample-inline.png
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/sample-inline.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/sample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch10/docs/kss-assets/sample.png
--------------------------------------------------------------------------------
/ch10/docs/kss-assets/sample.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/ch10/js/docs.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | var dropdowns = document.querySelectorAll('.dropdown__toggle');
3 | Array.prototype.forEach.call(dropdowns, function(dropdown) {
4 | dropdown.addEventListener('click', function (event) {
5 | event.target.parentNode.classList.toggle('is-open');
6 | });
7 | });
8 | }());
9 |
--------------------------------------------------------------------------------
/ch10/kss-config.json:
--------------------------------------------------------------------------------
1 | {
2 | "title": "My pattern library",
3 | "source": [
4 | "./css"
5 | ],
6 | "destination": "docs/",
7 | "css": [
8 | "../css/styles.css"
9 | ],
10 | "js": [
11 | "../js/docs.js"
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/ch10/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "pattern-library",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "build": "kss --config kss-config.json",
8 | "test": "echo \"Error: no test specified\" && exit 1"
9 | },
10 | "keywords": [],
11 | "author": "Keith J. Grant",
12 | "devDependencies": {
13 | "kss": "^3.0.0-beta.14"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/ch11/images/bear.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch11/images/bear.jpg
--------------------------------------------------------------------------------
/ch11/images/elephants.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch11/images/elephants.jpg
--------------------------------------------------------------------------------
/ch11/images/scratches.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch11/images/scratches.png
--------------------------------------------------------------------------------
/ch11/listing-11.01.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ch11/listing-11.03.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ch11/listing-11.04.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ch11/listing-11.05.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ch11/listing-11.06.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/ch11/listing-11.07.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/ch11/listing-11.09.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
19 | Sign up now
20 |
21 |
--------------------------------------------------------------------------------
/ch11/listing-11.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 | Sign up now
23 |
24 |
--------------------------------------------------------------------------------
/ch11/listing-11.11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
23 |
24 |
25 | Sign up now
26 |
27 |
--------------------------------------------------------------------------------
/ch11/listing-11.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ch11/listing-11.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/ch11/listing-11.15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/ch11/listing-11.17.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
23 |
24 |
25 |
26 |
Ursa Major
27 |
28 |
29 |
--------------------------------------------------------------------------------
/ch12/collaboration.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch12/collaboration.jpg
--------------------------------------------------------------------------------
/ch12/listing-12.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
46 |
47 |
48 |
49 |
56 |
57 |
58 |
59 |
Team collaboration done right
60 |
Get started
61 |
62 |
63 |
64 |
65 |
66 |
67 |
Work together, even if you're apart
68 |
Organize your team conversations into threads. Collaborate together on documents in real-time. Use face-to-face video calls when typing just won't do.
69 |
Read more
70 |
71 |
72 |
73 |
Take it with you
74 |
Ink is available on a wide array of devices, so you can work from anywhere:
75 |
76 | Web
77 | iOS
78 | Android
79 | Windows Phone
80 |
81 |
Read more
82 |
83 |
84 |
85 |
Priced right
86 |
Whether you work on a team of three or a three hundred, you'll find our tiered pricing reasonable at every level.
87 |
Read more
88 |
89 |
90 |
91 |
92 |
97 |
98 |
--------------------------------------------------------------------------------
/ch13/collaboration.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch13/collaboration.jpg
--------------------------------------------------------------------------------
/ch13/listing-13.3.css:
--------------------------------------------------------------------------------
1 | /* latin */
2 | @font-face {
3 | font-family: 'Roboto';
4 | font-style: normal;
5 | font-weight: 300;
6 | src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v15/Hgo13k-tfSpn0qi1SFdUfZBw1xU1rKptJj_0jans920.woff2) format('woff2');
7 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
8 | }
9 | /* latin */
10 | @font-face {
11 | font-family: 'Sansita';
12 | font-style: normal;
13 | font-weight: 800;
14 | src: local('Sansita ExtraBold'), local('Sansita-ExtraBold'), url(https://fonts.gstatic.com/s/sansita/v1/M0VOVsEPZWhxh-yeRPQtpQzyDMXhdD8sAj6OAJTFsBI.woff2) format('woff2');
15 | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
16 | }
17 |
--------------------------------------------------------------------------------
/ch14/listing-14.10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
62 |
63 |
64 |
65 |
Menu
66 |
67 |
81 |
82 |
83 | Read more
84 |
85 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/ch14/listing-14.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
59 |
60 |
61 |
62 |
Menu
63 |
64 |
78 |
79 |
80 | Read more
81 |
82 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/ch14/listing-14.2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
19 |
20 |
21 | Hover over me
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ch14/listing-14.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
28 |
29 |
30 | Hover over me
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ch14/listing-14.5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
24 |
25 |
26 |
29 |
30 |
--------------------------------------------------------------------------------
/ch14/listing-14.6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
24 |
25 |
26 |
29 |
30 |
--------------------------------------------------------------------------------
/ch14/listing-14.8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
57 |
58 |
59 |
60 |
Menu
61 |
62 |
76 |
77 |
78 | Read more
79 |
80 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ch14/listing-14.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
58 |
59 |
60 |
61 |
Menu
62 |
63 |
77 |
78 |
79 | Read more
80 |
81 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/ch15/images/chicken1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch15/images/chicken1.jpg
--------------------------------------------------------------------------------
/ch15/images/chicken2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch15/images/chicken2.jpg
--------------------------------------------------------------------------------
/ch15/images/chicken3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch15/images/chicken3.jpg
--------------------------------------------------------------------------------
/ch15/images/chicken4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch15/images/chicken4.jpg
--------------------------------------------------------------------------------
/ch15/images/home.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ch15/images/members.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ch15/images/star.svg:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ch15/listing-15.02.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
34 |
35 |
36 |
37 |
38 |
39 |
Mrs. Featherstone
40 |
She may be a bit frumpy, but Mrs Featherstone gets the job done. She lays her largish cream-colored eggs on a daily basis. She is gregarious to a fault.
41 |
This Austra White is our most prolific producer.
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/ch15/listing-15.03.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
34 |
35 |
36 |
37 |
38 |
39 |
Mrs. Featherstone
40 |
She may be a bit frumpy, but Mrs Featherstone gets the job done. She lays her largish cream-colored eggs on a daily basis. She is gregarious to a fault.
41 |
This Austra White is our most prolific producer.
42 |
>
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/ch15/listing-15.05.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
51 |
52 |
53 |
56 |
57 |
83 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/ch15/listing-15.06.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
80 |
81 |
82 |
85 |
86 |
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/ch15/listing-15.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
21 |
22 |
23 |
24 |
25 |
One
26 |
Two
27 |
Three
28 |
Four
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/ch15/listing-15.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
22 |
23 |
24 |
25 |
26 |
One
27 |
Two
28 |
Three
29 |
Four
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ch15/listing-15.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
23 |
24 |
25 |
26 |
27 |
One
28 |
Two
29 |
Three
30 |
Four
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/ch15/listing-15.15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
30 |
31 |
32 |
33 |
34 |
One
35 |
Two
36 |
Three
37 |
Four
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/ch16/images/chicken1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch16/images/chicken1.jpg
--------------------------------------------------------------------------------
/ch16/images/chicken2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch16/images/chicken2.jpg
--------------------------------------------------------------------------------
/ch16/images/chicken3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/ch16/images/chicken3.jpg
--------------------------------------------------------------------------------
/ch16/images/chicken4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/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.12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
37 |
38 |
39 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ch16/listing-16.13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
65 |
66 |
67 |
68 | Tell us about your first trip to the zoo:
69 |
70 | Save
71 |
72 |
73 |
74 |
--------------------------------------------------------------------------------
/ch16/listing-16.14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
65 |
66 |
67 |
68 | Tell us about your first trip to the zoo:
69 |
70 | Save
71 |
72 |
73 |
84 |
85 |
86 |
--------------------------------------------------------------------------------
/ch16/listing-16.15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
93 |
94 |
95 |
96 | Tell us about your first trip to the zoo:
97 |
98 | Save
99 |
100 |
101 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/ch16/listing-16.16.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
93 |
94 |
95 |
96 | Tell us about your first trip to the zoo:
97 |
98 | Save
99 |
100 |
101 |
125 |
126 |
127 |
--------------------------------------------------------------------------------
/ch16/listing-16.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/cover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/CSSInDepth/css-in-depth/2c6595f52480db8fcc9bcb19ebebb42642b42812/cover.png
--------------------------------------------------------------------------------