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

how to change the select arrow in css

.styled-select {
  width: 100px;
  height: 17px;
  overflow: hidden;
  overflow: -moz-hidden-unscrollable;
  background: url(images/downarrow_blue.png) no-repeat right white;
  border: 2px double red;
  display: inline-block;
  position: relative;
}

.styled-select select {
  background: transparent;
  -webkit-appearance: none;
  width: 100px;
  font-size: 11px;
  border: 0;
  height: 17px;
  position: absolute;
  left: 0;
  top: 0;
}

body {
  background-color: #333333;
  color: #FFFFFF;
}

.block label {
  color: white;
}
Comment

PREVIOUS NEXT
Code Example
Css :: put a border only on bottom 
Css :: center absolute element 
Css :: animation fade in css 
Css :: css a link style 
Css :: scss responsive container 
Css :: blur background css 
Css :: reset div css 
Css :: css put background on top of another background image 
Css :: selecting last child css 
Css :: gradient over background video 
Css :: auto suggestion in jupyter notebook 
Css :: css image hover 
Css :: css cut lines 
Css :: background color using css 
Css :: width css 
Css :: css background transparent blur 
Css :: blue gradient background 
Css :: css lock scroll 
Css :: background position 
Css :: custom taxonomy pagination 404 
Css :: block elements css 
Css :: scss flex 
Css :: remove auto focus selected background color 
Css :: align centre 
Css :: white space in css 
Css :: style input field css 
Css :: how to fix overflow elementor 
Css :: css class and id 
Css :: padding block 
Css :: Html css forbidden cursor 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =