โค้ด - Code (CSS & HTML) ติดเว็บไซร์
เพื่อใครยังไม่รู้ หรือกำลังหาอยู่ ก็เลยเอามาฝากกันครับ
#CSS
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้.black-ribbon { position: fixed; z-index: 9999; width: 70px; }
@media only all and (min-width: 768px) { .black-ribbon { width: auto; } }
.stick-left { left: 0; }
.stick-right { right: 0; }
.stick-top { top: 0; }
.stick-bottom { bottom: 0; }
#HTML
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้<!-- Top Left -->
<img src="https://goo.gl/Yl6KNg" class="black-ribbon stick-top stick-left"/>
<!-- Top Right -->
<img src="https://goo.gl/EMCghL" class="black-ribbon stick-top stick-right"/>
<!-- Bottom Left -->
<img src="https://goo.gl/YxzDaS" class="black-ribbon stick-bottom stick-left"/>
<!-- Bottom Right -->
<img src="https://goo.gl/NsuiKq" class="black-ribbon stick-bottom stick-right"/>
เพิ่มเติม: code สำหรับลดโทนสีหน้าเว็บถวายอาลัย (Oct'2017)
ลองดูนะครับ ผิดพลาดประการใดขออภัยด้วยครับ
ที่มา :
http://bit.ly/2dFIdvW
Code "ริบบิ้นดำ" ติดเว็บไซร์ (ถวายความอาลัย พระบาทสมเด็จพระเจ้าอยู่หัวในพระบรมโกศ)
เพื่อใครยังไม่รู้ หรือกำลังหาอยู่ ก็เลยเอามาฝากกันครับ
#CSS
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
#HTML
[Spoil] คลิกเพื่อดูข้อความที่ซ่อนไว้
เพิ่มเติม: code สำหรับลดโทนสีหน้าเว็บถวายอาลัย (Oct'2017)
ลองดูนะครับ ผิดพลาดประการใดขออภัยด้วยครับ
ที่มา : http://bit.ly/2dFIdvW