W3.CSS Card Content(카드내용)

· 2017-12-04 (월) 22:33:04 · 2570

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>

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

퍼블리셔팁

1,282건

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

+
분류 제목 글쓴이 날짜 조회
기타 19-01-09 조회 2,042
기타 19-01-09 조회 3,939
기타
[기타]
19-01-09 조회 3,588
기타 18-11-28 조회 2,702
기타 18-11-28 조회 2,336
CSS 18-11-27 조회 3,279
CSS 18-11-21 조회 2,560
HTML 18-11-06 조회 3,913
CSS 18-10-01 조회 3,026
CSS 18-09-28 조회 2,767
기타 18-09-22 조회 2,615
기타 18-03-15 조회 3,200
CSS 18-03-02 조회 5,403
HTML 18-02-05 조회 3,552
기타 18-01-10 조회 3,171
기타 18-01-10 조회 2,576
기타 18-01-10 조회 2,718
CSS 18-01-08 조회 3,010
CSS 18-01-08 조회 2,586
CSS 18-01-08 조회 2,825
CSS 18-01-04 조회 2,535
CSS 18-01-04 조회 2,788
CSS 18-01-04 조회 2,601
기타 17-12-06 조회 2,651
기타 17-12-06 조회 2,454
기타 17-12-06 조회 2,336
기타 17-12-04 조회 2,571
기타 17-12-04 조회 2,110
기타 17-12-04 조회 2,338
HTML 17-12-03 조회 3,995