How do I change the text style in forms? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I change the text style in forms?

Code for styling forms (text size, text color, font) (in CSS) for some reason correctly outputs only the color, and the font and size are ignored (in my case, I style <textarea>) https://code.sololearn.com/WP30bryc45hS/?ref=app

15th Aug 2020, 7:01 AM
We Eat Bananas
We Eat Bananas - avatar
5 Answers
+ 1
Verdana is default I believe. Try this: font-family: "Times New Roman"; font-size: 3em; ull see its different style. If you are not working in playground then u may need to link the CSS file with a tag inside <head> like this: <link rel="stylesheet" href="styleFile.css"> Your code is fine.
15th Aug 2020, 7:35 AM
Arturop
Arturop - avatar
+ 2
Hi can u share u code in playground? please. Im interested in this question
15th Aug 2020, 7:09 AM
Arturop
Arturop - avatar
+ 1
Jorat, thanks!
15th Aug 2020, 7:46 AM
We Eat Bananas
We Eat Bananas - avatar
0
Jorat Yes, I attached it to the question
15th Aug 2020, 7:31 AM
We Eat Bananas
We Eat Bananas - avatar
0
You're welcome
15th Aug 2020, 7:46 AM
Arturop
Arturop - avatar