Line-Height does not match the font-size

前端 未结 4 1008
野趣味
野趣味 2020-12-20 13:00

When I have two line of text with different font-size, they overlap. Look at this example : http://jsfiddle.net/3WcMG/1/

All the \'j\' and \'g\' are hiding the to o

4条回答
  •  独厮守ぢ
    2020-12-20 13:31

    You can give your "test" class line-height or margin-top whatever you feel comfortable with.

    .test{
        font-size: 14px;
        line-height:18px;
    }
    

提交回复
热议问题