flag
Mon. - Fri. 09:00 - 17:30

Blog Details

วิธีเปลี่ยนหน้าเว็บเป็นสีเทา หรือสีดำ โทนขาวดำทั้งเว็บ ง่ายๆด้วย CSS Grayscale

วิธีเปลี่ยนหน้าเว็บเป็นสีเทา หรือสีดำ โทนขาวดำทั้งเว็บ ง่ายๆด้วย CSS Grayscale

Share:

Howto ที่ไกล้เคียง

body { margin: 0; padding: 2rem; }
table { text-align: left; position: relative; border-collapse: collapse; }
th, td { padding: 0.25rem; }
tr.red th { background: red; color: white; }
tr.green th { background: green; color: white; }
tr.purple th { background: purple; color: white; }
th { background: white; position: sticky; top: 0; /* Don't forget this, required for the stickiness */ box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4); }

https://css-tricks.com/position-sticky-and-table-headers/

แบ่งหน้าได้ง่ายๆเพียงใส่ css (page-break-after: always)

	Page 1
	<div style="page-break-after: always"></div>
	Page 2
	<div style="page-break-after: always"></div>
	Page 3

การกำหนด border ใน css สำหรับพิมพ์เอกสารจาก html หน้าเว็บ ช่วยให้สามารถกำหนดสีของเส้น border ได้

กำหนด css เมื่อพิมพ์เอกสารแล้วให้ตั้งค่าเริ่มต้นเป็น กระดาษแนวนอน

CDN สำหรับนำไปใช้ได้

https://cdn.jsdelivr.net/gh/lazywasabi/thai-web-fonts@7/fonts/Sarabun/Sarabun.css

Register

Aosoft.co.th

Complete Registration!