W3.CSS Card Content(카드내용)

· 8년 전 · 2155

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>

 

2049347278_1512394372.4297.png

[전체소스]

<!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>

|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

퍼블리셔팁

퍼블리싱과 관련된 유용한 정보를 공유하세요. 질문은 상단의 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
CSS 7년 전 조회 4,920
HTML 7년 전 조회 3,123
기타 8년 전 조회 2,778
기타 8년 전 조회 2,162
기타 8년 전 조회 2,329
CSS 8년 전 조회 2,578
CSS 8년 전 조회 2,146
CSS 8년 전 조회 2,408
CSS 8년 전 조회 2,101
CSS 8년 전 조회 2,402
CSS 8년 전 조회 2,184
기타 8년 전 조회 2,238
기타 8년 전 조회 2,037
기타 8년 전 조회 1,929
기타 8년 전 조회 2,156
기타 8년 전 조회 1,704
기타 8년 전 조회 1,934
HTML 8년 전 조회 3,567
기타 8년 전 조회 2,458
기타 8년 전 조회 2,236
기타 8년 전 조회 1,967
기타 8년 전 조회 1,519
CSS 8년 전 조회 2,748
기타 8년 전 조회 1,906
기타 8년 전 조회 2,328
기타 8년 전 조회 2,143
기타 8년 전 조회 1,692
기타 8년 전 조회 1,530
기타 8년 전 조회 1,451
CSS 8년 전 조회 1,713
🐛 버그신고