728x90

ํฐ์คํ ๋ฆฌ Poster ์คํจ ์ฌ์ด๋ ๋ฉ๋ด๋ฐ์ ํ๋กํ ๋ฃ๋ ๋ฒ
ํฐ์คํ ๋ฆฌ → ์คํจํธ์ง → HTML

ctrl+f๋ก ๊ฒ์
<nav id="gnb"> ์๋ ๋ถ๋ถ์ ํ๋กํ ๋ฐ์ค ๋ฃ๋ ์ฝ๋ ์ถ๊ฐ
<!-- ํ๋กํ -->
<div class="box-profile <s_if_var_Profilebgimage>box-profile-invert</s_if_var_Profilebgimage>" style="background-image:url('<s_if_var_Profilebgimage>[# #_var_Profilebgimage_##]</s_if_var_Profilebgimage>');">
<div class="inner-box">
<img src="[# #_image_##]" class="img-profile" alt="ํ๋กํ์ฌ์ง">
</div>
<div class="text-profile">[# #_desc_##]
</div>
</div>
## ์ฌ์ด ๊ณต๋ฐฑ ์ ๊ฑฐ ํ ์ฌ์ฉ

#header ์๋์ชฝ์ ํ๋กํ ๋ฐ์ค(.box-profile)๋
๊ทธ ์์ ํ๋กํ ์ฌ์ง(img-profile) & ๋ธ๋ก๊ทธ ์ค๋ช (text-profile) ๋ถ๋ถ ์ถ๊ฐ
/*ํ๋กํ์์ */
#header .menu .box-profile {
position: relative; margin: 10px;
border-top: 2px solid rgb(123,63,0);
border-bottom: 2px solid rgb(123,63,0);
text-align: center;
background-color: rgba(255, 255, 255, 0.432);
}
#header .menu .box-profile .img-profile {
width: 140px;
height: 140px;
margin: 30px auto 15px;
border-radius: 140px;
}
#header .menu .box-profile .text-profile {
max-width: 210px;
font-size: 15px;
line-height: 1.54; color: rgb(123,63,0);
text-align: center; /* ํ
์คํธ ๊ฐ์ด๋ฐ ์ ๋ ฌ */
margin: 0 auto 15px;
}728x90
'Tistory' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [ํฐ์คํ ๋ฆฌ] Poster ์คํจ ์ฌ๋ผ์ด๋ ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง ์ด๋ก๊ฒ (0) | 2023.09.14 |
|---|