ผมกำลังสร้าง tool โปรแกรมคำนวณความสูงครับ แล้วคือว่า ต้องการจะได้ css tag มาเพิมความสวยงาม แบบรูป ต้องทำอย่างไงครับ
Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
Moderator: mindphp, ผู้ดูแลกระดาน
- Ittichai_chupol
- PHP VIP Members
- โพสต์: 5410
- ลงทะเบียนเมื่อ: 19/09/2018 10:33 am
Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
ขอให้วันนี้เป็นวันที่ดี
-
- PHP VIP Members
- โพสต์: 4859
- ลงทะเบียนเมื่อ: 08/01/2018 10:03 am
Re: Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
ลองเพิ่ม css โค้ดนี้ดู
โค้ด: เลือกทั้งหมด
.tags {
list-style: none;
margin: 0;
overflow: hidden;
padding: 0;
}
.tags li {
float: left;
}
.tag {
background: #eee;
border-radius: 3px 0 0 3px;
color: #999;
display: inline-block;
height: 26px;
line-height: 26px;
padding: 0 20px 0 23px;
position: relative;
margin: 0 10px 10px 0;
text-decoration: none;
-webkit-transition: color 0.2s;
}
.tag::before {
background: #fff;
border-radius: 10px;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
content: '';
height: 6px;
left: 10px;
position: absolute;
width: 6px;
top: 10px;
}
.tag::after {
background: #fff;
border-bottom: 13px solid transparent;
border-left: 10px solid #eee;
border-top: 13px solid transparent;
content: '';
position: absolute;
right: 0;
top: 0;
}
.tag:hover {
background-color: #337ab7;
color: white;
}
.tag:hover::after {
border-left-color: #337ab7;
}
Live Simply, Laugh Often, Love Deeply.....
-
- Similar Topics
- ตอบกลับ
- แสดง
- โพสต์ล่าสุด
-
- 3 ตอบกลับ
- 1910 แสดง
-
โพสต์ล่าสุด โดย น้องชะอมชุบไข่
05/02/2015 12:50 am
-
-
โพสต์ใหม่ อยากได้ G-shock ตัวยักษ์ดำ อยากทราบว่าดูยังไงว่าแท้ไม่แท้
โดย Kao Kub » 29/07/2019 4:07 pm » ใน พูดคุยเรื่องทั่วไป จับฉ่าย - 0 ตอบกลับ
- 548 แสดง
-
โพสต์ล่าสุด โดย Kao Kub
29/07/2019 4:07 pm
-
-
-
โพสต์ใหม่ สอบถาม SQl อยากได้ id ล่าสุดของ Id ที่เรา where in
โดย thatsawan » 08/05/2017 1:34 pm » ใน SQL - Database - 1 ตอบกลับ
- 1756 แสดง
-
โพสต์ล่าสุด โดย tsukasaz
08/05/2017 1:53 pm
-
-
-
โพสต์ใหม่ อยากได้ โน้ตบุ๊คเล่นเกม ราคาไม่แพง เลือกยังไงดี !
โดย asider8629 » 18/09/2023 6:54 pm » ใน Mobile Programming - Android, iOS, Window Phone - 0 ตอบกลับ
- 1569 แสดง
-
โพสต์ล่าสุด โดย asider8629
18/09/2023 6:54 pm
-
-
-
โพสต์ใหม่ สอบถามครับ อยากได้ url ของลิงค์ ให้มาแสดงในช่อง ต้องทำยังไงครับ
โดย chatee supasand » 09/10/2019 12:22 pm » ใน Programming - C/C++ & java & Python - 6 ตอบกลับ
- 1419 แสดง
-
โพสต์ล่าสุด โดย chatee supasand
09/10/2019 1:41 pm
-
-
-
โพสต์ใหม่ อยากได้ jquery gallery ajax popup ใครมีบ้าง
โดย thatsawan » 01/03/2016 10:57 am » ใน JavaScript & jQuery Ajax & Node.JS - 2 ตอบกลับ
- 2425 แสดง
-
โพสต์ล่าสุด โดย thatsawan
02/03/2016 4:44 pm
-
ผู้ใช้งานขณะนี้
สมาชิกกำลังดูบอร์ดนี้: Bing [Bot] และบุคลทั่วไป 103