Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab0078 commit 22e2efbCopy full SHA for 22e2efb
foundations/flex/02-flex-header/style.css
@@ -1,6 +1,13 @@
1
.header {
2
- font-family: monospace;
+ font-family: 'Courier New', Courier, monospace;
3
background: papayawhip;
4
+ /* 1. declare flexbox first */
5
+ display: flex;
6
+ /* 3. arrange the group of items */
7
+ align-items: center;
8
+ justify-content: space-between;
9
+ /* 5. insert padding (inward unlike margin) */
10
+ padding: 8px;
11
}
12
13
.logo {
@@ -14,6 +21,12 @@
14
21
ul {
15
22
/* this removes the dots on the list items*/
16
23
list-style-type: none;
24
+ /* 2. declare flexbox for the list */
25
26
+ /* 3. insert gap between items */
27
+ gap: 8px;
28
+ /* 4. override the default padding value */
29
+ padding: 0;
17
30
18
31
19
32
a {
0 commit comments