-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (91 loc) · 4.09 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title></title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="" />
</head>
<body>
<div class="relative">
<!-- Position: fixed -->
<!-- inset-0: Le da un valor de 0px value a las propiedades top/right/bottom/left del elemento. -->
<!-- transition-opacity es una propiedad que suaviza el cambio de una opacidad a la otra. -->
<!-- referencia de colores: https://tailwindcss.com/docs/customizing-colors#default-color-palette -->
<div
class="fixed inset-0 bg-gradient-to-tr from-purple-300 to-purple-800 bg-opacity-75 transition-opacity"
>
<section id="testimonials">
<!-- max width 6xl, 5 de padding horizontal, margin auto, margin top 32, centrar el texto -->
<div class="max-w-6xl px-5 mx-auto mt-32 text-center">
<h2 class="text-4xl font-bold text-center text-white">
What's Your Experience?
</h2>
<!-- flex-col: flex-direction: column, en equipos de tamanio mediano la dirección será de filas. space-x: space-between -->
<div class="flex flex-col mt-24 md:flex-row md:space-x-6">
<!-- align-items: center, rounded: border-radius, ancho de porcentaje. Ver más en https://tailwindcss.com/docs/width -->
<div
class="flex flex-col items-center p-6 space-y-6 rounded-lg bg-veryLightGray md:w-1/3 text-white"
>
<!-- margen negativo. rounded-full = border-radius 50% -->
<img
src="img/person-1.jpg"
class="w-16 -mt-14 rounded-full"
alt=""
/>
<h5 class="text-lg font-bold">Carlos Ramírez</h5>
<p class="text-sm text-darkGrayishBlue">
“The carbon in our apple pies not a sunrise but a galaxyrise
great turbulent clouds not a sunrise but a galaxyrise network
of wormholes.”
</p>
</div>
<!-- Testimonial 2 -->
<div
class="hidden flex-col items-center p-6 space-y-6 rounded-lg bg-veryLightGray md:flex md:w-1/3 text-white"
>
<img
src="img/person-2.jpg"
class="w-16 -mt-14 rounded-full"
alt=""
/>
<h5 class="text-lg font-bold">Hoana Jianguo</h5>
<p class="text-sm text-darkGrayishBlue">
“Galaxies a still more glorious dawn awaits extraordinary
claims require extraordinary evidence rich in mystery billions
upon billions tesseract.”
</p>
</div>
<!-- Testimonial 3 -->
<div
class="hidden flex-col items-center p-6 space-y-6 rounded-lg bg-veryLightGray md:flex md:w-1/3 text-white"
>
<img
src="img/person-3.jpg"
class="w-16 -mt-14 rounded-full"
alt=""
/>
<h5 class="text-lg font-bold">Da Hai</h5>
<p class="text-sm text-darkGrayishBlue">
“White dwarf take root and flourish realm of the galaxies
globular star cluster the carbon in our apple pies vastness is
bearable only through love.”
</p>
</div>
</div>
<div class="my-16">
<a
href="#"
class="p-3 px-6 pt-2 text-white border-solid border-2 border-white rounded-full baseline hover:bg-purple-600"
>Learn more</a
>
</div>
</div>
</section>
</div>
</div>
</body>
</html>