Questions tagged as 'css-font-size'

1
answer

Is there any way to calculate a pattern of extra space from a source? [duplicate]

I'm trying to make a layout as "pixel perfect" as possible, but I've always come across this problem, using large fonts, there is a space above and below the font, like a padding / margin. I searched the subject, trying to relate to line-heigh...
asked by 16.01.2017 / 20:22
2
answers

Responsive Font

I'm doing a theme for wordpress and I put the font with the size of 5em which is around 80px , but when I test on my cell with 320px wide, the font is broken and ugly, I wanted something that would make the font automatically fit in...
asked by 26.07.2016 / 16:29
1
answer

How to increase the font size of an EditText according to the size of the screen?

I would like the font size to be proportional to the screen size of the device that will run the application.     
asked by 03.03.2015 / 15:05
3
answers

Responsive font-size according to screen size

Can anyone explain / teach me how to make my text increase or decrease along with the screen size? I read a bit about REM , but I did not quite understand. I do not really know if this applies to the case.     
asked by 11.02.2014 / 17:16
2
answers

Questions about CSS

Personal quick question, how do I set only a font-size in the font so that it decreases by the size of the device? I'm currently inserting a different font-size size for each @media query , there's a smarter way of doing this so...
asked by 25.05.2016 / 20:16
1
answer

How to avoid infinite cycle in function / call that reduces letter size?

I've created this small jQuery extension that aims to reduce the size of text by setting% css% of CSS based on% of its container%. The operation is simple, find the current font size and remove a pixel, then apply a new CSS definition for the...
asked by 23.12.2013 / 16:25
1
answer

Change font size

I am trying to change the font in an html document, however, if I indicate the font name, it does not change and the font size returns to the original. This is the code I am using: p { padding:20px; background-color: white; f...
asked by 20.06.2015 / 20:19
1
answer

How to increase text font with NgSatinize? [closed]

I'm not able to increase or decrease the source of my news, which has the NgSatinize attribute, does anyone know how to modify it? or another way to saturate my html?     
asked by 20.11.2016 / 18:34
0
answers

Font-size greater rendeniza in Safari

Are there CSS or other reasons why Safari / iPhone would ignore some font size settings? On my particular site, Safari on iPhone produces some font size: 13px text larger than the font size: 15px text. Maybe it does not support font size on some...
asked by 17.12.2017 / 17:52
2
answers

Responsive Font

I'm doing a theme for wordpress and I put the font with the size of 5em which is around 80px , but when I test on my cell with 320px wide, the font is broken and ugly, I wanted something that would make the font automatically fit in...
asked by 26.07.2016 / 16:29