W3.CSS

W3.CSS หน้าแรก W3.CSS แนะนำ W3.CSS สี คอนเทนเนอร์ W3.CSS แผง W3.CSS เส้นขอบ W3.CSS การ์ด W3.CSS ค่าเริ่มต้นของ W3.CSS แบบอักษร W3.CSS W3.CSS Google W3.CSS Text W3.CSS รอบ W3.CSS แพ็ดดิ้ง W3.CSS Margins จอแสดงผล W3.CSS ปุ่ม W3.CSS W3.CSS หมายเหตุ คำคม W3.CSS การแจ้งเตือน W3.CSS ตาราง W3.CSS รายการ W3.CSS W3.CSS รูปภาพ อินพุต W3.CSS ป้าย W3.CSS แท็ก W3.CSS ไอคอน W3.CSS W3.CSS ตอบสนอง เค้าโครง W3.CSS ภาพเคลื่อนไหว W3.CSS เอฟเฟกต์ W3.CSS W3.CSS บาร์ ดรอปดาวน์ W3.CSS หีบเพลง W3.CSS W3.CSS การนำทาง แถบด้านข้าง W3.CSS แท็บ W3.CSS การแบ่งหน้า W3.CSS แถบความคืบหน้า W3.CSS สไลด์โชว์ W3.CSS W3.CSS โมดอล เคล็ดลับเครื่องมือ W3.CSS W3.CSS กริด รหัส W3.CSS ตัวกรอง W3.CSS W3.CSS Trends กรณี W3.CSS W3.CSS วัสดุ การตรวจสอบ W3.CSS เวอร์ชัน W3.CSS W3.CSS มือถือ

W3.CSS สี

คลาสสี W3.CSS W3.CSS วัสดุสี W3.CSS Color Flat UI W3.CSS Color Metro UI W3.CSS สี Win8 W3.CSS Color iOS W3.CSS แฟชั่นสี ไลบรารีสี W3.CSS W3.CSS แบบแผนสี ธีมสี W3.CSS W3.CSS เครื่องกำเนิดสี

การสร้างเว็บ

แนะนำเว็บ เว็บ HTML เว็บ CSS JavaScript ของเว็บ เค้าโครงเว็บ เว็บแบนด์ เว็บจัดเลี้ยง เว็บร้านอาหาร สถาปนิกเว็บ

ตัวอย่าง

ตัวอย่าง W3.CSS W3.CSS สาธิต เทมเพลต W3.CSS

อ้างอิง

การอ้างอิง W3.CSS ดาวน์โหลด W3.CSS

การ์ด W3.CSS


สัญลักษณ์

จอห์น

สถาปนิกและวิศวกร


หัวข้อ

ข้อความบางส่วน เพื่อให้ได้มาอย่างน้อยที่สุด ใครในพวกเราควรใช้การจ้างงานใด ๆ ยกเว้นเพื่อใช้ประโยชน์จากผลที่ตามมา

ส่วนท้าย

คลาสการ์ด W3.CSS

W3.CSS มีคลาสต่อไปนี้สำหรับแสดงการ์ดที่เหมือนกระดาษ:

ระดับ กำหนด
w3-card เหมือนกับ w3-card-2
w3-card-2 คอนเทนเนอร์สำหรับเนื้อหา HTML ใดๆ (เงาที่มีเส้นขอบ 2px)
w3-card-4 คอนเทนเนอร์สำหรับเนื้อหา HTML (เงาที่มีเส้นขอบ 4px)

การ์ดสี

To display colored cards, just add w3-color class:

w3-card

w3-card-2

w3-card-4

Example (White Cards)

<div class="w3-card">
  <p>w3-card</p>
</div>

Example (Yellow Cards)

<div class="w3-card w3-yellow">
  <p>w3-card</p>
</div>


Card Content

Header

Some text.. 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.

Footer

Add containers inside the card to create different sections:

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>

Photo Card

เทือกเขาแอลป์

The Italian / Austrian Alps

Example

<div class="w3-card-4">
  <img src="img_snowtops.jpg" alt="Alps">
  <div class="w3-container w3-center">
    <p>The Italian / Austrian Alps</p>
  </div>
</div>

Hover Effect

The w3-hover-shadow class adds a shadow effect on hover - this will make any element look like a card on mouse-over (same style as w3-card-4).

Hover over me!

Example

<div class="w3-green w3-hover-shadow w3-center">
  <p>Hover over me!</p>
</div>

More Examples

Friend Request

สัญลักษณ์

John Doe




Example

<div class="w3-card-4 w3-dark-grey">

<div class="w3-container w3-center">
  <h3>Friend request</h3>
  <img src="img_avatar3.png" alt="Avatar" style="width:80%">
  <h5>John Doe</h5>

  <button class="w3-button w3-green">Accept</button>
  <button class="w3-button w3-red">Decline</button>
</div>

</div>

John Doe

1 new friend request


สัญลักษณ์

CEO at Mighty Schools. Marketing and Advertising. Seeking a new job and new opportunities.


Example

<div class="w3-card-4">

<header class="w3-container w3-light-grey">
  <h3>John Doe</h3>
</header>

<div class="w3-container">
  <p>1 new friend request</p>
  <hr>
  <img src="img_avatar3.png" alt="Avatar" class="w3-left w3-circle">
  <p>President/CEO at Mighty Schools...</p>
</div>

<button class="w3-button w3-block w3-dark-grey">+ Connect</button>

</div>

Weather Widget

ไฟ
LONDON 60° F

MON

ดวงอาทิตย์

TUE

เมฆดวงอาทิตย์

WED

คลาวด์

Example

<div class="w3-card-4">
  <div class="w3-display-container w3-text-white">
    <img src="img_london.jpg" alt="Lights" style="width:100%">
    <div class="w3-xlarge w3-display-bottomleft w3-padding">LONDON 60&deg; F</div>
  </div>
  <div class="w3-row">
    <div class="w3-third w3-center">
      <h3>MON</h3>
      <img src="img_weather_sun.jpg" alt="sun">
    </div>
    <div class="w3-third w3-center">
      <h3>TUE</h3>
      <img src="img_weather_cloud.jpg" alt="cloud">
    </div>
    <div class="w3-third w3-center w3-margin-bottom">
      <h3>WED</h3>
      <img src="img_weather_clouds.jpg" alt="clouds">
    </div>
  </div>
</div>