From 952ad79334c7b9169418c6a664ab026ce091e602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=BD=EB=8F=99=EC=A4=80?= <k3357943@ajou.ac.kr> Date: Thu, 23 Mar 2023 01:04:43 +0900 Subject: [PATCH] img code rewriting --- public/index.html | 2 +- public/style.css | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/index.html b/public/index.html index 97f2c25..3398f30 100644 --- a/public/index.html +++ b/public/index.html @@ -14,7 +14,7 @@ </div> <div class="centerImage"> - <p><img src = "image/thankyou_kong.jpg", alt="GamSaKong"></p> + <img src = "image/thankyou_kong.jpg", alt="GamSaKong"> </div> <h1>Kwak Dong Jun</h1> diff --git a/public/style.css b/public/style.css index d0935f3..40f9ee5 100644 --- a/public/style.css +++ b/public/style.css @@ -23,13 +23,16 @@ body { } .centerImage img{ - text-align: center; - width: 360px; - height: 360px; + max-width: 360px; + max-height: 360px; + min-width: 200px; + min-height: 200px; + display: block; + margin: auto; } .linkColor{ - font-size: medium; + font-size: 20px; font-style: italic; background-color: aqua; } \ No newline at end of file -- GitLab