โดย tsukasaz » 09/08/2019 3:54 pm
คำสั่ง CSS กำหนด ให้กับตัว select ที่ต้องการ
โค้ด: เลือกทั้งหมด
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;
คำสั่ง CSS กำหนด ให้กับตัว select ที่ต้องการ
[code]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;[/code]