-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0803main.html
193 lines (190 loc) · 10.1 KB
/
0803main.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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>weekly5main</title>
<link rel="stylesheet" href="0803main.css">
</head>
<body>
<!-- w2 -->
<div class="container">
<div class="header">
<h1 data-aos="fade-down"><a href="#"><img class="logo"
src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/logo-all-dark.svg"alt="logo"></a></h1>
<ul data-aos="fade-down" class="menu">
<li><a href="#">首頁</a></li>
<li><a href="#">甜點</a></li>
<li><a href="#">登入</a></li>
<li><a href="#"><img src="https://hexschool.github.io/webLayoutTraining1st/student-week1/shopping_cart.png"alt="購物車"></a></li>
</ul>
</div>
<div data-aos="fade-right"class="banner">
<img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/banner.png"alt="">
</div>
<div class="main">
<div data-aos="fade-up"class="sidebar">
<h3>甜點類別</h3>
<ul>
<li><a href="#">所有甜點 (48)</a></li>
<li><a href="#">本日精選 (10)</a></li>
<li><a href="#">人氣推薦 (26)</a></li>
<li><a href="#">新品上市 (12)</a></li>
</ul>
</div>
<div class="product">
<ul data-aos="fade-down-left" class="productList">
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-1.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-2.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-3.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-4.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-5.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
<li class="items">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/p-6.png?raw=true" alt="">
<a href="#" class="like">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/favorite_border.png?raw=true" alt="">
</a>
<p class="feature">本日精選</p>
<div class="info">
<h3>焦糖馬卡龍</h3><span>NT $450</span>
</div>
<button class="addCart">加入購物車</button>
</li>
</ul>
</div>
</div>
<div data-aos="zoom-in-up" class="page">
<ul>
<li class="arrow"><a href="#"><img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/arrow_left.png" alt=""></a></li>
<li class="pageNumber"><a href="#">1</a></li>
<li class="pageNumber"><a href="#">2</a></li>
<li class="pageNumber"><a href="#">3</a></li>
<li class="arrow"><a href="#"><img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/arrow_right.png" alt=""></a></li>
</ul>
</div>
</div>
<!-- w3 -->
<div class="layoutfooter">
<form data-aos="zoom-out-up" action="" class="footerForm">
<div class="container containerForm">
<label for="mail" class="labelForm">
<img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/logo-light.svg" alt="">
<span>訂閱你我的甜蜜郵件</span>
</label>
<div class="formInput">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/mail-24px.png?raw=true" alt="mailIcon" class="mailIcon">
<input type="text" id="mail">
<button class="enterBotton" type="submit" name="enterButton">
<img src="https://github.com/hexschool/webLayoutTraining1st/blob/master/student-week1/arrow_forward-24px.png?raw=true" alt="">
</button>
</div>
</div>
</form>
<div data-aos="zoom-out-up"class="footer">
<div class="footerInner container">
<div class="footerInnerTop">
<div class="contactMethod">
<img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/logotype-lg-dark.svg" alt="logo" class="footerLogo">
<ul class="cList">
<li>07-1234-5678</li>
<li>[email protected]</li>
<li>800 高雄市新興區幸福路 520 號</li>
</ul>
</div>
<div class="slogan">
<p>今天是個 | | <br> 吃甜點的好日子。</p>
</div>
</div>
<div class="footerInnerBottom">
<ul class="cLink">
<li>
<a href="#"><img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/4baf15e7aa2800a1e312de01435b7dbf6f654843/student-week1/ic-line%40.svg" alt="line@"></a>
</li>
<li>
<a href="#"><img src="https://raw.githubusercontent.com/hexschool/webLayoutTraining1st/master/student-week1/ic-facebook.svg" alt="fb"></a>
</li>
<!-- 這裡不知道為什麼icon會置中 -->
</ul>
<p class="rights">
© 2018 Sweetaste* All Rights Reserved
</p>
</div>
</div>
</div>
</div>
<!-- w4+aos -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
// Global settings:
disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function
startEvent: 'DOMContentLoaded', // name of the event dispatched on the document, that AOS should initialize on
initClassName: 'aos-init', // class applied after initialization
animatedClassName: 'aos-animate', // class applied on animation
useClassNames: false, // if true, will add content of `data-aos` as classes on scroll
disableMutationObserver: false, // disables automatic mutations' detections (advanced)
debounceDelay: 50, // the delay on debounce used while resizing window (advanced)
throttleDelay: 99, // the delay on throttle used while scrolling the page (advanced)
// Settings that can be overridden on per-element basis, by `data-aos-*` attributes:
offset: 200, // offset (in px) from the original trigger point
delay: 50, // values from 0 to 3000, with step 50ms
duration: 1000, // values from 0 to 3000, with step 50ms
easing: 'ease', // default easing for AOS animations
once: false, // whether animation should happen only once - while scrolling down
mirror: false, // whether elements should animate out while scrolling past them
anchorPlacement: 'top-bottom', // defines which position of the element regarding to window should trigger the animation
});
</script>
</body>
</html>