Skip to content

Commit 8aff919

Browse files
committed
Completed Introduction to Flexbox
1 parent e8e1b0b commit 8aff919

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

myWork/04-CSS-Layouts/flexbox.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,19 @@
3636
/* STARTER */
3737
font-family: sans-serif;
3838
background-color: #ddd;
39-
font-size: 40px;
39+
font-size: 25px;
4040
margin: 40px;
4141

4242
/* FLEXBOX */
43+
display: flex;
44+
/*
45+
align-items: center;
46+
align-items: flex-start;
47+
align-items: flex-end;
48+
align-items: stretch;
49+
*/
50+
align-items: center;
51+
justify-content: center;
4352
}
4453
</style>
4554
</head>

myWork/04-CSS-Layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ <h1 class="title-text">📘The Code Magazine</h1>
1414
<nav class="navigation-bar">
1515
<a href="blog.html" target="_blank">Blog</a>
1616
<a href="#">Challenges</a>
17-
<a href="#">Flexbox</a>
18-
<a href="#">CSS Grid</a>
17+
<a href="flexbox.html" target="_blank">Flexbox</a>
18+
<a href="css-grid.html" target="_blank">CSS Grid</a>
1919
</nav>
2020
</header>
2121

0 commit comments

Comments
 (0)