From 422b2ef1f40cd2e4857fc1fb90b1c131c5d06477 Mon Sep 17 00:00:00 2001 From: Minho Lim <minho119@ajou.ac.kr> Date: Wed, 22 Mar 2023 20:14:35 +0900 Subject: [PATCH] feat p tag style --- public/index.html | 2 ++ public/style.css | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 2ff3ad8..1f72278 100644 --- a/public/index.html +++ b/public/index.html @@ -12,6 +12,8 @@ </div> <div class="container"> + <p>실전코딩 과제3 웹페이지</p> + <div class="parent-container"> <h1 class="title">내 정보</h1> <div class="flex flex-col"> diff --git a/public/style.css b/public/style.css index e198146..e3797f0 100644 --- a/public/style.css +++ b/public/style.css @@ -37,6 +37,14 @@ body { width: 100%; display: flex; flex-direction: column; + margin: 0 2rem; +} + +.container p { + background-color: antiquewhite; + font-size: 2rem; + font-weight: 700; + font-family: 'Segoe UI'; } .flex { @@ -60,7 +68,6 @@ body { flex-direction: column; padding: 1.5rem 3rem; - margin: 0 2rem; border: solid 1px grey; border-radius: 16px; @@ -141,9 +148,6 @@ body { .feature-container > h2 { margin-bottom: 1rem; background-color: antiquewhite; - - font-size: 2rem; - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .feature-container h6:not(:first-child) { -- GitLab