Simply purely with CSS does not give, you will have to simulate the arrow maybe with an image via background, it is necessary to remove the decoration of the element using appearance:
(with prefixes still)
This is because the form controls are usually generated "from" native "operating system" controls and for many times this is not fully customizable as the engine does not pass or cannot "pass" the whole control, or is something that has not yet been developed to be its own control instead of the native in the system.
I made an example with an SVG image, the right alignment is more complex if the <select>
use width: 100%;
(or based on percentage), then the cool would be to add the spaces in the image itself, in case follows a simple example:
.form-control
{
background-color: #fff;
border-radius: 15px;
border: 2px solid #ccc;
font-size: 16px;
margin-top: 5px;
min-height: 57px;
outline: none;
padding: 15px 10px;
transition: border-color .1s linear;
width: 100%;
box-sizing: border-box;
}
select.form-control {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; /*provavelmente será implementado no futuro*/
background: url(data:image/svg+xml;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzA2cHgiIGhlaWdodD0iMzA2cHgiIHZpZXdCb3g9IjAgMCAzMDYgMzA2IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAzMDYgMzA2OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBvbHlnb24gcG9pbnRzPSIyNzAuMyw1OC42NSAxNTMsMTc1Ljk1IDM1LjcsNTguNjUgMCw5NC4zNSAxNTMsMjQ3LjM1IDMwNiw5NC4zNSIvPjwvZz48L3N2Zz4=) center right no-repeat;
background-size: 8px 8px;
}
<input class="form-control" />
<select class="form-control">
</select>
Guilherme, the style is not to be applied to select?
select {}
...– Marconi
@Marconi is yes, I forgot to "delimit" the selector. Thank you, I have corrected
– Guilherme Nascimento
Sensational, I just applied in my project.
– Wallace Maxters