-
Notifications
You must be signed in to change notification settings - Fork 121
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (83 loc) · 2.62 KB
/
Copy pathindex.html
File metadata and controls
89 lines (83 loc) · 2.62 KB
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
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8" />
<title>CSS Flexbox</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<style>
body {
margin: 0;
min-block-size: 100vh;
font-family:
Inter,
ui-sans-serif,
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
color: #172033;
background: #f6f8fb;
}
main {
inline-size: min(920px, calc(100% - 32px));
margin-inline: auto;
padding-block: 48px;
}
h1 {
margin-block: 0 12px;
font-size: 42px;
line-height: 1.05;
}
p {
max-inline-size: 720px;
margin-block: 0 28px;
color: #5d687a;
font-size: 18px;
line-height: 1.6;
}
ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
margin: 0;
padding: 0;
list-style: none;
}
a {
display: block;
border: 1px solid #d8dee8;
border-radius: 8px;
padding: 16px;
color: inherit;
background: #fff;
text-decoration: none;
}
a:hover,
a:focus-visible {
border-color: #2f6fec;
outline: none;
}
</style>
</head>
<body>
<main>
<h1>CSS Flexbox</h1>
<p>Набор коротких HTML/CSS-примеров по Flexbox для подготовки к frontend-интервью.</p>
<ul>
<li><a href="example1">Example 1</a></li>
<li><a href="example2">Example 2</a></li>
<li><a href="example3">Example 3</a></li>
<li><a href="example4">Example 4</a></li>
<li><a href="example5">Example 5</a></li>
<li><a href="example6">Example 6</a></li>
<li><a href="example7">Example 7</a></li>
<li><a href="example8">Example 8</a></li>
<li><a href="example10">Example 10</a></li>
</ul>
</main>
</body>
</html>