From 14fc8785ccec4ca7d8d7575db815c40c20da21db Mon Sep 17 00:00:00 2001 From: kwd8905 <79880249+kwd8905@users.noreply.github.com> Date: Mon, 16 May 2022 20:46:51 +0900 Subject: [PATCH] =?UTF-8?q?[upload]DOM=20=EC=8B=A4=EC=8A=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fe-dom-practice/index.html | 18 +++++++++++++++++ fe-dom-practice/style.css | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 fe-dom-practice/index.html create mode 100644 fe-dom-practice/style.css diff --git a/fe-dom-practice/index.html b/fe-dom-practice/index.html new file mode 100644 index 0000000..e1efa84 --- /dev/null +++ b/fe-dom-practice/index.html @@ -0,0 +1,18 @@ + + + + + + + Document + + +
+

Tweet List

+
hello
+
world
+
code
+
states
+
+ + diff --git a/fe-dom-practice/style.css b/fe-dom-practice/style.css new file mode 100644 index 0000000..619b604 --- /dev/null +++ b/fe-dom-practice/style.css @@ -0,0 +1,40 @@ +@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap"); + +* { + box-sizing: border-box; +} + +body { + background-color: #f9fafb; + font-family: "Open Sans", sans-serif; + display: flex; + align-items: center; + justify-content: center; + min-height: 100vh; + margin: 0; +} + +.container { + background-color: #fff; + border-radius: 5px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); + width: 400px; + padding: 30px 40px; +} + +h2 { + text-align: center; + margin: 0 0 20px; +} + +.tweet { + margin-bottom: 10px; + padding-bottom: 20px; + position: relative; + border: 2px solid #f0f0f0; + border-radius: 4px; + display: block; + width: 100%; + padding: 10px; + font-size: 14px; +}