+ 1

Font-size on CSS

Does SOLOLEARN support “font-size” on css? I’m trying to work on a font size with its text editor, but it seems that it doesn’t work.

4th Oct 2019, 6:00 PM
Marcos Rodrigo Sousa
Marcos Rodrigo Sousa - avatar
3 Antworten
+ 2
try just “size: ;”
5th Oct 2019, 7:47 AM
Tonik Horkel ಠ_ಠ
Tonik Horkel ಠ_ಠ - avatar
+ 1
Try font-size:2em; To see if the font became larger, if so, reduce size to 1em or 1.2em or whatever. The element you're styling with font-size in the css must have text so you can see it. If you styled this <h1></h1> in css and added font-size, you'd see nothing because the h1 heading has no text. Also be careful. If you have numerous elements with font-size styling, an element higher up could be dominating the element you want to style, essentially , your element has inherited css from the parent element. In that case, try and override the inheritance in your css with font-size:2em !important;
11th Oct 2019, 12:01 AM
Xyenia 🦉
Xyenia 🦉 - avatar
0
I tried that as well, but it doesn’t work as well. 😭
5th Oct 2019, 9:12 AM
Marcos Rodrigo Sousa
Marcos Rodrigo Sousa - avatar