-
Notifications
You must be signed in to change notification settings - Fork 0
/
combinators_and_hover.html
193 lines (186 loc) · 10.6 KB
/
combinators_and_hover.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style/reset.css" />
<link rel="stylesheet" type="text/css" href="./style/main.css" />
<link rel="stylesheet" type="text/css" href="./style/combinators_and_hover.css" />
</head>
<body>
<h4 class="bold">Component selectors. Combinators. Hover:</h4>
<h6 class="italic m-bottom10">...from right to left:</h6>
<ul class="successively-left-to-right table bc-yellow m-left20 p10 font-size0 m-bottom10">
<li class="table-cell top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="table-cell middle p10">Fusce</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
<h6 class="italic m-bottom10">...from left to right (float: right):</h6>
<ul class="successively-left-to-right table bc-yellow m-left20 p10 font-size0 m-bottom10 clearfix">
<li class="table-cell middle w200 p10 right">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
<li class="table-cell middle p10 right">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10 right">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="table-cell middle p10 right">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="table-cell middle p10 right">Fusce</li>
<li class="table-cell top p10 right">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
</ul>
<h6 class="italic m-bottom10">...from left to right (.parent:hover):</h6>
<ul class="successively-right-to-left table bc-yellow m-left20 p10 font-size0 m-bottom10 clearfix">
<li class="table-cell top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="table-cell middle p10">Fusce</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
<ul class="successively-right-to-left table bc-yellow m-left20 font-size0 m-bottom10">
<li class="table-cell top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="table-cell middle p10">Fusce</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="table-cell middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="table-cell middle w200 p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
<h6 class="italic m-bottom10">...from bottom to top:</h6>
<ul class="successively-left-to-right w200 bc-yellow m-left20 p10 font-size0 m-bottom10">
<li class="top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="middle p10">Fusce</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="middle p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="middle p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
<h6 class="italic m-bottom10">...from top to bottom (.parent:hover):</h6>
<ul class="successively-right-to-left w200 bc-yellow m-left20 p10 font-size0 m-bottom10 clearfix">
<li class="top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="middle p10">Fusce</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="middle p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="middle p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
<ul class="successively-right-to-left w200 bc-yellow m-left20 font-size0 m-bottom10">
<li class="top p10">
<img class="middle" src="http://lorempixel.com/50/50/" alt="lorempixel.com">
</li>
<li class="middle p10">Fusce</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/100/100/" alt="lorempixel.com">
</li>
<li class="middle p10">
Ut ac velit interdum metus ultricies dapibus sit amet quis arcu.
Pellentesque iaculis mi vel lacus hendrerit, vitae lobortis enim tincidunt.
Integer tempor semper magna, et molestie magna imperdiet eu.
Sed varius porttitor augue a lacinia.
Integer dignissim ipsum purus, eu volutpat ex accumsan tempus.
</li>
<li class="middle p10">
<img class="middle" src="http://lorempixel.com/75/150/" alt="lorempixel.com">
</li>
<li class="middle p10">
Mauris non ante condimentum, rhoncus arcu eu, aliquet nisl.
Nulla egestas mi ac efficitur volutpat. Vivamus ut urna ut magna interdum condimentum in id nunc.
Aliquam eleifend metus eget sem placerat sollicitudin.
</li>
</ul>
</body>
</html>