Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css style select arrow color

.select_box{
  width: 200px;
  overflow: hidden;
  border: 1px solid #000;
  position: relative;
  padding: 10px 0;
}
.select_box:after{
  width: 0; 
  height: 0; 
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #f00;
  position: absolute;
  top: 40%;
  right: 5px;
  content: "";
  z-index: 98;
 }
.select_box select{
  width: 220px;
  border: 0;
  position: relative;
  z-index: 99;
  background: none;
}
Comment

change color select arrow css cf7

body {
  background: #f2f2f2;
}

.selectdiv {
  position: relative;
  /*Don't really need this just for demo styling*/
  
  float: left;
  min-width: 200px;
  margin: 50px 33%;
}

/*To remove button from IE11, thank you Matt */
select::-ms-expand {
     display: none;
}

.selectdiv:after {
  content: '<>';
  font: 17px "Consolas", monospace;
  color: #333;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 11px;
  /*Adjust for position however you want*/
  
  top: 18px;
  padding: 0 0 2px;
  border-bottom: 1px solid #999;
  /*left line */
  
  position: absolute;
  pointer-events: none;
}

.selectdiv select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Add some styling */
  
  display: block;
  width: 100%;
  max-width: 320px;
  height: 50px;
  float: right;
  margin: 5px 0px;
  padding: 0px 24px;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  -ms-word-break: normal;
  word-break: normal;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to make a text in center with background color in css 
Css :: css display 
Css :: css loader with gradient 
Css :: prevent flex box width from overflowing in css 
Css :: fonts for css 
Css :: Giving body maximum width in css 
Css :: css not working 
Css :: css align image bottom 
Css :: text-align attribute in css 
Css :: change image link css 
Css :: Css left-to-right animation. 
Css :: skeumorphism box shadow 
Css :: web3 button style 
Css :: transform element to the left 
Css :: how to make the position of a div always stay while scrolling 
Css :: css z-index property 
Css :: django validation error css 
Css :: sliding button css 
Css :: CSS The !important 
Css :: css remove line from link 
Css :: laravel 7 css not working 
Css :: datepicker not select future date odoo 13 
Css :: popsition relative css 
Css :: learn css 
Css :: boxsizing 
Css :: linear gradient farthest-corner code css 
Css :: button style css 
Css :: fit image in grid css 
Css :: @page css 
Css :: <i class="fa-solid fa-quote-left"</i 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =