my textarea does not recognize my class [closed]

-3

I have a php document where I have the following code

    '<textarea class='futuro' name='comentarios' placeholder='Escribe tus comentarios'  onBlur='this.value=this.value.toUpperCase();'  required></textarea>'

and in the CCS I have the following

   '.futuro{
width:250px;
height:45px;
border-radius:6px;
border:2px solid #ccc;
padding: 0px 10px}'

However, it does not recognize this class, now I have another class called ftextarea250 and that recognizes it to perfection, the class ftextarea250 is the following

   '.ftextarea250{
width:250px;
height:45px;
border-radius:6px;
border:2px solid #ccc;
padding: 0px 10px;}'

Does anyone have any idea what I'm doing wrong ????

    
asked by El Jona 24.07.2017 в 01:39
source

1 answer

0

HTML:

<textarea class='futuro' name='comentarios' placeholder='Escribe tus comentarios' onBlur='this.value=this.value.toUpperCase();' required></textarea>

CSS:

.futuro {
 width: 250px;
 height: 45px;
 border-radius: 6px;
 border: 2px solid #ccc;
 padding: 0 10px
}

It should work with this.

    
answered by 24.07.2017 / 01:54
source