Odd behavior of :first-letter in Chrome

前端 未结 3 798
滥情空心
滥情空心 2021-01-21 10:08

Adding what seems to be an innocuous class to an element having a class containing :first-letter causes the first letter, under some circumstances, to be rendered incorrectly. A

3条回答
  •  無奈伤痛
    2021-01-21 11:05

    .menutitle {
        /* font-size: 1.2em; */
        font-weight: bold;
        /* font-style: italic; */
        margin-left: 0;
    }
    

    the moment i commented those two lines it worked properly

    EDIT

    nop it only solved half the problem

    Codepen

提交回复
热议问题