I added select
to my form
, but when I set the font size to 35px the select
does not fit the font size, a cut occurs.
See below for what happens:
Ineedthefontsizereallytobe35px,howcanIresolvethis?
HTML
<figureclass="cx-fotos-portugal">
<form>
<select>
<option selected="selected">Escolha a cidade</option>
<option value=""></option>
</select>
</form>
<img src="./fotos-portugal/foto-portugal-capitania-do-porto-cascais.jpg">
</figure>
CSS
figure.cx-fotos-portugal{
margin: 0 auto;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
figure.cx-fotos-portugal form{
position: absolute;
background-color: #ccc;
padding: 20px;
border-radius: 10px;
}
figure.cx-fotos-portugal img{
width: 100%;
height: 100%;
max-height: 550px;
}
figure.cx-fotos-portugal form select{
font-size: 35px;
padding: 5px;
border: 1px solid #b9bdc1;
color: #797979;
}