-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSecondPage.html
102 lines (92 loc) · 2.35 KB
/
SecondPage.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
<html>
<head>
<title>My Now Amazing Webpage</title>
<link rel="stylesheet" type="text/css" href="slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="slick/slick-theme.css"/>
</head>
<body style="background:black">
<style>
$c1: #3a8999;
$c2: #e84a69;
.flex-parent {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.flex-child {
-webkit-box-flex: 0;
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
}
.slider {
width: auto;
margin: 30px 50px 50px;
}
.slick-slide {
background: $c1;
color: white;
padding: 40px 0;
font-size: 30px;
font-family: "Arial", "Helvetica";
text-align: center;
}
.slick-prev:before,
.slick-next:before {
color: black;
}
.slick-dots {
bottom: -30px;
}
.slick-slide:nth-child(odd) {
background: $c2;
}
</style>
<div style="display:flex;">
<div class="one-time">
<div style="background:blue; height:100px">your content</div>
<div style="background:yellow; height:100px">your content</div>
<div style="background:red; height:100px">your content</div>
<div style="background:blue; height:100px">your content</div>
<div style="background:yellow; height:100px">your content</div>
<div style="background:red; height:100px">your content</div>
</div>
</div>
<div class="flex-parent">
<div class="flex-child">
<section class="slider">
<div>slide1</div>
<div>slide2</div>
<div>slide3</div>
<div>slide4</div>
<div>slide5</div>
<div>slide6</div>
</section>
</div>
</div>
<script type="text/javascript" src="jquery-3.2.0.min.js"></script>
<script type="text/javascript" src="slick/slick.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.one-time').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 6,
adaptiveHeight: true,
});
$('.slider').slick({
dots: true,
infinite: true,
speed: 300,
slidesToShow: 6,
adaptiveHeight: true,
});
});
</script>
</body>
</html>