안효원 안효원 2022-01-21
flex practice add
@c2cdd3df0c3bf0b80d1678a4903d1b65b819c696
 
vscode/flex/1.html (added)
+++ vscode/flex/1.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="ko">
+<head>
+    <meta charset="UTF-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Document</title>
+    <style>
+        section {
+            background-color: antiquewhite;
+            display: flex;
+            flex-direction: row;
+            justify-content: space-around;
+            height: 500px;
+            align-items: center;
+        }
+        article {background-color: cadetblue;
+            width: 50px;
+            height: 50px;
+        }
+    </style>
+</head>
+<body>
+    <section>
+        <article>1</article>
+        <article>2</article>
+        <article>3</article>
+        <article>4</article>
+    </section>
+</body>
+</html>(No newline at end of file)
Add a comment
List