ผมกำลังสร้าง tool โปรแกรมคำนวณความสูงครับ แล้วคือว่า ต้องการจะได้ css tag มาเพิมความสวยงาม แบบรูป ต้องทำอย่างไงครับ
Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
Moderators: mindphp, ผู้ดูแลกระดาน
- Ittichai_chupol
- PHP VIP Members
- Posts: 5410
- Joined: 19/09/2018 10:33 am
Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
ขอให้วันนี้เป็นวันที่ดี
-
- PHP VIP Members
- Posts: 4859
- Joined: 08/01/2018 10:03 am
Re: Q - อยากได้ css tag มาเพิ่มความสวยงามต้องทำอย่างไงครับ
ลองเพิ่ม css โค้ดนี้ดู
Code: Select all
.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
- Replies
- Views
- Last post
-
- 3 Replies
- 1396 Views
-
Last post by น้องชะอมชุบไข่
05/02/2015 12:50 am
-
-
ด่วน!!! อยากได้ BB 8520 แบบถูกๆๆๆ
by En Sniper » 28/06/2012 4:41 pm » in Programming - C/C++ & java & Python - 0 Replies
- 1747 Views
-
Last post by En Sniper
28/06/2012 4:41 pm
-
-
-
อยากได้ module joomla ที่จัดการแสดงข่าวหน้าแรก
by tom6 » 08/12/2011 4:20 pm » in ปัญหาการใช้ phpBB3, SMF, Joomla, Wordpress, CMS, CRM - 2 Replies
- 5955 Views
-
Last post by irukphp
16/04/2012 11:00 am
-
-
-
สอบถาม SQl อยากได้ id ล่าสุดของ Id ที่เรา where in
by thatsawan » 08/05/2017 1:34 pm » in SQL - Database - 1 Replies
- 974 Views
-
Last post by tsukasaz
08/05/2017 1:53 pm
-
-
-
อยากได้ G-shock ตัวยักษ์ดำ อยากทราบว่าดูยังไงว่าแท้ไม่แท้
by Kao Kub » 29/07/2019 4:07 pm » in พูดคุยเรื่องทั่วไป จับฉ่าย - 0 Replies
- 185 Views
-
Last post by Kao Kub
29/07/2019 4:07 pm
-
-
-
สอบถามครับ อยากได้ url ของลิงค์ ให้มาแสดงในช่อง ต้องทำยังไงครับ
by chatee supasand » 09/10/2019 12:22 pm » in Programming - C/C++ & java & Python - 6 Replies
- 751 Views
-
Last post by chatee supasand
09/10/2019 1:41 pm
-
-
-
อยากได้ jquery gallery ajax popup ใครมีบ้าง
by thatsawan » 01/03/2016 10:57 am » in JavaScript & Jquery Ajax - 2 Replies
- 1723 Views
-
Last post by thatsawan
02/03/2016 4:44 pm
-
Who is online
Users browsing this forum: No registered users and 9 guests