คำคม W3.CSS
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
กำลังแสดงคำคม
คลาสw3-panelเป็นคลาสที่สมบูรณ์แบบสำหรับแสดงคำพูด
เครื่องหมายคำพูดมักแสดงด้วยพื้นหลังสีเทา แถบเส้นขอบด้านซ้าย และรูปแบบแบบอักษรตัวเอียง:
ตัวอย่าง
<div class="w3-panel w3-leftbar w3-light-grey">
<p class="w3-xlarge w3-serif">
<i>"Make it as simple as possible, but not simpler."</i></p>
<p>Albert Einstein</p>
</div>
คำคมขนาดใหญ่
คำพูดขนาดใหญ่มักใช้บนอินเทอร์เน็ต:
ตัวอย่าง
<div class="w3-panel w3-leftbar w3-sand">
<p class="w3-xxlarge w3-serif">
<i>"Make it as simple as possible, but not simpler."</i></p>
<p>Albert Einstein</p>
</div>
Blockquotes
หากคุณใช้องค์ประกอบ HTML <blockquote> มาตรฐาน โปรดสังเกตว่าเบราว์เซอร์จะเพิ่มระยะขอบซ้ายและขวาพิเศษ:
"Make it as simple as possible, but not simpler."
Albert Einstein
ตัวอย่าง
<blockquote class="w3-panel w3-leftbar w3-light-grey">
<p class="w3-large">
<i>"Make it as simple as possible, but not simpler."</i></p>
<p>Albert Einstein</p>
</blockquote>
การใช้สัญลักษณ์ HTML
คุณสามารถใช้สัญลักษณ์ HTML มาตรฐานแทนเครื่องหมายและ:
สัญลักษณ์ | รหัส |
---|---|
≪ | #8810 |
✂ | #9986 |
❝ | #10077 |
❞ | #10078 |
❠ | #10080 |
✔ | #10004 |
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
ตัวอย่าง
<div class="w3-panel w3-light-grey">
<span
style="font-size:150px;line-height:0.6em;opacity:0.2">❝</span>
<p class="w3-xlarge" style="margin-top:-40px">
<i>"Lorem ipsum dolor sit amet, consectetur adipiscing elit ..."</i></p>
<p>Albert
Einstein</p>
</div>
ตัวอย่าง
<div class="w3-panel w3-center w3-leftbar w3-sand">
<p><i
class="w3-serif w3-xlarge">
<span
style="font-size:150px;line-height:0.6em;opacity:0.2">✔</span>
Programming in C will slowly decline.<br>
Programming in JavaScript
will be more important.</i></p>
</div>
การใช้ไอคอน Font Awesome
คุณยังสามารถใช้ไอคอนจากไลบรารี Font Awesome ได้:
ตัวอย่าง
<div class="w3-panel w3-leftbar">
<p><i class="fa fa-quote-right
w3-xxlarge"></i><br>
<i class="w3-serif w3-xlarge">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</i></p>
</div>
คุณยังสามารถเปลี่ยนสีและความทึบ:
ตัวอย่าง
<div class="w3-panel w3-sand w3-leftbar">
<p><i class="fa fa-quote-right
w3-xxlarge w3-opacity"></i>
<span class="w3-serif
w3-xlarge">
Lorem ipsum dolor sit amet, consectetur adipiscing elit ...</span></p>
</div>
คำพูดสีดำ:
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
ตัวอย่าง
<div class="w3-panel w3-black">
<p class="w3-large
w3-serif">
<i class="fa fa-quote-right w3-xxlarge w3-margin-right"></i>
Lorem ipsum dolor sit amet, consectetur adipiscing elit ...</p>
</div>
แสดงราคาเป็นการ์ด
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
ตัวอย่าง
<div class="w3-panel w3-card-4 w3-light-grey" style="width:50%">
<p
class=" w3-large w3-serif">
<i class="fa fa-quote-right w3-xxlarge
w3-text-red"></i><br>
Lorem ipsum dolor sit amet, consectetur adipiscing
elit ...</p>
</div>
ความเจ็บปวดคือความรัก ซึ่งเป็นระบบจัดเก็บข้อมูลหลัก ว่ามวลแห่งชีวิตไม่ใช่รอยยิ้มอันอบอุ่นของหมี เสียงหัวเราะของโกศ ไม่มีอะไรซับซ้อน
ตัวอย่าง
<div class="w3-panel w3-card-4 w3-center" style="width:50%">
<span
style="font-size:100px">❝</span><br>
<p style="margin-top:-60px">
<i><b>Lorem ipsum dolor sit amet, consectetur adipiscing elit ...</b></i></p>
</div>