728x90
๋ฐ์ํ
์ด๋ฏธ์ง/ํ ์คํธ ์ ํ 01
์ด๋ฏธ์ง/ํ ์คํธ ์ ํ ๋ ์ด์์ ์ฌ์ดํธ์ ๋๋ค.
๋ ์ด์์ ์ค์
figma๋ก ๊ทธ๋ฆฌ๋์ ์ฌ์ดํธ์ ๋ ์ด์์์ ์ก์ต๋๋ค.
HTML
html ์์ค์ ๋๋ค.
<body>
<section id="imgTextType" class="imgText__wrap nexon section gray">
<h2 class="blind">์ ์ฉํ ์ฌ์ดํธ ์ดํด๋ณด๊ธฐ</h2>
<div class="imgtext__inner container">
<div class="imgText__txt">
<span>์ด๋ฏธ์ง ํ
์คํธ ์ ํ01</span>
<h3>์ ์ฉํ ์ฌ์ดํธ ์ดํด๋ณด๊ธฐ</h3>
<p>์น๋์์ด๋, ์น ํผ๋ธ๋ฆฌ์
, ํ๋ก ํธ์ค๋ ๊ฐ๋ฐ์๋ฅผ ์ํ ์ ์ฉํ ์ฌ์ดํธ์
๋๋ค.</p>
<ul>
<li><a href="/">ํํ ๋ฆฌ์ผ ์ฌ์ดํธ</a></li>
<li><a href="/">๋ ํผ๋ฐ์ค ์ฌ์ดํธ</a></li>
<li><a href="/">์นํฐํธ ์ฌ์ดํธ</a></li>
<li><a href="/">CSS ์ฌ์ดํธ</a></li>
<li><a href="/">WebGL ์ฌ์ดํธ</a></li>
<li><a href="/">Youtube ์ฌ์ดํธ</a></li>
</ul>
</div>
<div class="imgText__img img1">
<a href="/">๋ ํผ๋ฐ์ค ์ฌ์ดํธ</a>
</div>
<div class="imgText__img img2">
<a href="/" class="blue">ํํ ๋ฆฌ์ผ ์ฌ์ดํธ</a>
</div>
</div>
</section>
</body>
CSS
css ์์ค์ ๋๋ค. figma๋ก ์ค์ ํด๋์ ๋ ์ด์์์ด๋ zaplin์ ๋ณด๋ฉฐ ์ ์ ํ๊ฒ css๋ฅผ ์ค์ ํด์ค๋๋ค.
/* fonts */
@import url('https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.css');
.nexon {
font-family: 'NexonLv1Gothic';
font-weight: 400;
}
/* reset */
* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #000;
}
img {
width: 100%;
}
li {
list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
/* ๋ธ๋ผ์ธ๋ ํจ๊ณผ */
.blind {
position: absolute;
clip: rect(0 0 0 0);
width: 1px;
height: 1px;
margin: -1px;
overflow: hidden;
}
/* common */
.mb70 {
margin-bottom: 70px !important;
}
.container {
width: 1160px;
padding: 0 20px;
margin: 0 auto;
min-width: 1160px;
}
.section {
padding: 120px 0;
}
.section>h2 {
font-size: 50px;
line-height: 1;
text-align: center;
margin-bottom: 20px;
}
.section>p {
font-size: 22px;
font-weight: 300;
color: #666;
text-align: center;
margin-bottom: 70px;
}
.section>span {
display: block;
text-align: center;
font-size: 16px;
text-decoration: underline;
margin-bottom: 16px;
}
.gray {
background-color: #f5f5f5;
}
/* imageText */
.imgtext__inner {
display: flex;
justify-content: space-between;
}
.imgtext__inner>div {
width: 32%;
height: 500px;
}
.imgText__txt {}
.imgText__txt span {
font-size: 16px;
color: #666;
text-decoration: underline;
text-underline-position: under;
margin-bottom: 20px;
display: block;
}
.imgText__txt h3 {
font-size: 50px;
font-weight: 300;
word-break: keep-all;
line-height: 1.4;
margin-bottom: 20px;
}
.imgText__txt p {
font-size: 18px;
font-weight: 300;
line-height: 1.5;
color: #666;
margin-bottom: 10px;
}
.imgText__txt ul {
font-size: 18px;
font-weight: 300;
line-height: 1.6;
}
.imgText__txt ul li {
position: relative;
padding-left: 20px;
}
.imgText__txt ul li a {
color: #666;
}
.imgText__txt ul li::before {
content: '';
width: 5px;
height: 5px;
border-radius: 50%;
position: absolute;
left: 5px;
top: 9px;
background: #666;
}
.imgText__img {
border-radius: 10px;
position: relative;
}
.imgText__img a {
position: absolute;
left: 30px;
bottom: 30px;
background-color: #7c2b39;
color: #fff;
font-size: 18px;
padding: 10px 30px;
border-radius: 30px;
display: inline-block;
}
.imgText__img a.blue {
background: #2b387c;
}
.imgText__img.img1 {
background: url(img/imgText_bg01.jpg) no-repeat center / cover;
}
.imgText__img.img2 {
background: url(img/imgText_bg02.jpg) no-repeat center / cover;
}
728x90
๋ฐ์ํ
'Site ์ ์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
07. ๋ฐฐ๋ ์ ํ 1 (2) | 2022.09.06 |
---|---|
06. ์ฌ๋ผ์ด๋ ์ ํ 1 (2) | 2022.09.06 |
04. ํค๋ ์ ํ 1 (1) | 2022.09.01 |
03. ํ ์คํธ ์ ํ 3 (4) | 2022.09.01 |
03. ํ ์คํธ ์ ํ - 2 (2) | 2022.08.31 |
๋๊ธ