พดดีว่าผมต้องการที่จะทำปุ่มให้ได้เหมืนกับรูปด้านล่างครับ
อยากทราบว่าจะต้องใช้คำสั่ง css อะไรบ้างครับ
ปุ่มของผม
ปุ่มที่อยากทำได้
อยากทำปุ่มแบบไม่เห็นขอบใช้คำสั่ง css ยังไงครับ
Moderator: mindphp
- jamepiyawat
- PHP VIP Members
- Posts: 2008
- Joined: 21/05/2019 10:45 am
- tsukasaz
- PHP VIP Members
- Posts: 12879
- Joined: 18/04/2012 9:39 am
Re: อยากทำปุ่มแบบไม่เห็นขอบใช้คำสั่ง css ยังไงครับ
คำสั่ง CSS กำหนด ให้กับตัว select ที่ต้องการ
Code: Select all
box-shadow: none;
padding: 0.5em 3.5em 0.5em 1em;
background-color: transparent;
background-image:
linear-gradient(45deg, transparent 50%, gray 50%),
linear-gradient(135deg, gray 50%, transparent 50%);
background-position:
calc(100% - 20px) calc(1em + 2px),
calc(100% - 15px) calc(1em + 2px);
background-size:
5px 5px,
5px 5px;
background-repeat: no-repeat;
border: none;
-webkit-appearance: none;
-moz-appearance: none;
The last bug isn't fixed until the last user is dead. (Sidney Markowitz, 1995)
- jamepiyawat
- PHP VIP Members
- Posts: 2008
- Joined: 21/05/2019 10:45 am
Re: อยากทำปุ่มแบบไม่เห็นขอบใช้คำสั่ง css ยังไงครับ
ทำได้แล้วครับ ขอบคุณครับ
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1 Replies
- 373 Views
-
Last post by thatsawan
06/06/2019 10:12 am
-
- 2 Replies
- 1516 Views
-
Last post by ipbpower
26/05/2011 10:02 pm
-
-
ควรออกแบบหน้านี้ด้วย jQuery ยังไงครับ
by PM.Pichit » 03/03/2012 9:24 pm » in JavaScript & Jquery Ajax - 2 Replies
- 3580 Views
-
Last post by PM.Pichit
05/03/2012 12:36 pm
-
-
- 1 Replies
- 1133 Views
-
Last post by mindphp
14/04/2013 1:35 pm
-
-
โชว์หมายเลขบรรทัดตลอดใน Pycharm ยังไงครับ
by bom_002 » 23/03/2017 10:19 am » in Programming - C/C++ & java & Python - 2 Replies
- 1934 Views
-
Last post by bom_002
23/03/2017 10:50 am
-
-
-
เปลี่ยนการแสดงผลวันเวลาใน Extension ยังไงครับ
by toonytoony2004 » 12/08/2015 9:32 am » in Joomla Development - 3 Replies
- 659 Views
-
Last post by mindphp
13/08/2015 8:59 pm
-
-
-
สอบถามวิธีเก็บค่าตัวเลขเกิน 10 หลักในดาต้าเบส ยังไงครับ
by AePongsak » 02/02/2017 5:17 pm » in Programming - PHP - 4 Replies
- 436 Views
-
Last post by AePongsak
03/02/2017 11:07 am
-
Who is online
Users browsing this forum: No registered users and 2 guests