I have a form with input and textarea (like any other) and I increase the font-size to make it easier to read, the problem is that when you start to fill in the fields, everything is written much smaller and I don't know why?
I pass code so you can see what mistake I'm making...
form textarea,
form textarea::placeholder,
form textarea::-webkit-input-placeholder {
height: 70px;
font-size: 1.5em;
overflow-y: hidden;
}
form input,
form input::placeholder,
form input::-webkit-input-placeholder {
font-size: 1.5em;
}
<form action="confFormularioBriefSeg.php" id="form2" name="form2" method="post">
<input type="text" id="octava" class="brief boton" name="octava" placeholder="Nombre o denominación">
<textarea name="novena" id="novena" class="textarea boton" placeholder="Descripción breve(dicho “en criollo” para entender el servicio a comunicar)"></textarea>
</form>
The best way to achieve what you want is using
font-family: inherit; font-size: inherit;
like this:Just delete the dot that has the
.1.5em
, add4
more dots toem
the dottextarea
so that the letter has the same size