-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (96 loc) · 6.4 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
96
97
98
99
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Sistema de columnas sin flexbox ni grid</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@1,300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/styles.css">
</head>
<body>
<header>
<h1 class="title">Sistema de columnas con y sin flexbox o grid.</h1>
</header>
<main>
<article class="article without-flex-grid">
<h2 class="heading without-flex-grid--full-width">
<em class="emphasis">Sin</em> flexbox ni grid
</h2>
<section class="section without-flex-grid__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section without-flex-grid__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section without-flex-grid__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section without-flex-grid__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section without-flex-grid__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
</article>
<article class="article display-flex">
<h2 class="display-flex__full-width">
<em class="emphasis">Con</em>
<code>display: flex;</code>
</h2>
<section class="section display-flex__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section display-flex__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section display-flex__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section display-flex__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section display-flex__column">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
</article>
<article class="article display-grid">
<h2 class="display-grid--full-width">
<em class="emphasis">Con</em>
<code>display: grid;</code>
</h2>
<section class="section">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
<section class="section">
<h3 class="section__title">Elemento</h3>
<p class="section__content">Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab porro sint molestiae accusamus fuga? Impedit repudiandae ab dolorum libero natus placeat, iure quos vitae.</p>
</section>
</article>
</main>
</body>
</html>