-
Notifications
You must be signed in to change notification settings - Fork 0
/
course1.css
102 lines (102 loc) · 1.35 KB
/
course1.css
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
*
{
margin: 0;
padding: 0;
}
.hero
{
background: lightsalmon;
height: 100vh;
width: 100%;
position: relative;
}
.hero h1{
text-align: center;
padding-top: 50px;
font-size: 40px;
color: #fff;
}
.slide-row
{
display: flex;
width: 3200px;
transform: 0.45s;
}
.slide-col
{
width: 800px;
height: 400px;
position: relative;
}
.user-img
{
position: absolute;
top: 0;
right: 0;
height: 40%;
}
.user-img img{
height: 90%;
border-radius: 10px;
}
.user-text
{
background: #2d3a59;
width: 520px;
height: 270px;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
border-radius: 10px;
color: #d3d4d6;
padding: 45px;
box-sizing: border-box;
/* z-index: 2;*/
}
.user-text p{
font-size: 18px;
line-height: 24px;
}
.user-text h3
{
margin: 35px 0 5px;
color: #fff;
}
.container
{
width: 800px;
height: 400px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.indicator
{
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -50px;
}
.btn
{
display: inline-block;
height: 15px;
width: 15px;
margin: 4px;
border-radius: 15px;
background: #fff;
cursor: pointer;
transition: 0.5s;
}
.active
{
width: 45px;
}
/*.testimonial
{
width: 30%;
height: 30%;
overflow: hidden;
}*/