프런트엔드-CSS

CSS 스타일링

강사: 최퍼블리셔 · 작성자: 이종춘 · 작성일: 2026-03-30 16:04:01 · 조회수: 18

스타일시트 컨덴츠 설명
목록으로
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>

.wrap{
width: 960px;
}

.con{
width: 300px;
height: 500px;
float: left;
font-size: 24px;
font-weight: 900;
}

img{
width: 300px;
height: 400px;
}

</style>
</head>
<body>

<div class="wrap">
<div class="con">
<img src="https://img.freepik.com/free-photo/3d-three-dimensional-abstract-background-with-neon-colors_123827-30388.jpg?semt=ais_hybrid&w=740&q=80" alt="">
<h2>Contents title</h2>
</div>

<div class="con">
<img src="https://img.freepik.com/free-photo/3d-three-dimensional-abstract-background-with-neon-colors_123827-30388.jpg?semt=ais_hybrid&w=740&q=80" alt="">
<h2>Contents title</h2>
</div>

<div class="con">
<img src="https://img.freepik.com/free-photo/3d-three-dimensional-abstract-background-with-neon-colors_123827-30388.jpg?semt=ais_hybrid&w=740&q=80" alt="">
<h2>Contents title</h2>
</div>
</div>

</body>
</html>
#스타일시트 컨덴츠

첨부 파일

0개
첨부된 파일이 없습니다.

댓글 / 답글

0개
댓글을 작성하려면 로그인하세요.
아직 댓글이 없습니다.