W3.CSS Card Content(카드내용)
W3.CSS Card Content(카드내용)
카드 안에 컨테이너를 추가하여 다른 섹션을 만듭니다.
Example
<div class="w3-card-4">
<header class="w3-container w3-blue">
<h1>Header</h1>
</header>
<div class="w3-container">
<p>Lorem ipsum...</p>
</div>
<footer class="w3-container w3-blue">
<h5>Footer</h5>
</footer>
</div>

[전체소스]
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<body>
<div class="w3-container">
<h2>Card Content</h2>
<p>Add containers inside the card to create different sections:</p>
<div class="w3-card-4" style="width:50%;">
<header class="w3-container w3-blue">
<h1>Header</h1>
</header>
<div class="w3-container">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
<footer class="w3-container w3-blue">
<h5>Footer</h5>
</footer>
</div>
</div>
</body>
</html>
게시글 목록
| 번호 | 제목 |
|---|---|
| 3015 |
HTML
SVG Star
|
| 3014 | |
| 3013 |
HTML
SVG Rectangle
|
| 3012 |
HTML
SVG Circle
|
| 3011 | |
| 3010 | |
| 3008 | |
| 3007 | |
| 3006 | |
| 3005 | |
| 3004 | |
| 3003 |
HTML
HTML5 Canvas
|
| 3002 |
HTML
HTML5 <footer> 요소
|
| 3001 |
HTML
HTML5 <header> 요소
|
| 3000 |
HTML
html5 태그 정의
|
| 2999 | |
| 2998 |
HTML
HTML5 <aside> 요소
|
| 2997 |
HTML
HTML5 <nav> 요소
|
| 2996 | |
| 2995 | |
| 2994 | |
| 2993 | |
| 2992 | |
| 2991 | |
| 2989 | |
| 2988 | |
| 2987 | |
| 2986 | |
| 2985 | |
| 2984 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기