how to remove the bold from a headline?

后端 未结 9 1573
半阙折子戏
半阙折子戏 2021-02-06 20:11

I have a headline:

THIS IS A HEADLINE

How do i make the phrase \"THIS IS...\" not to be bold and the rest without a change

9条回答
  •  臣服心动
    2021-02-06 20:42

    you can simply do like that in the html part:

    Heading Text
    

    and in the css you can make it as an h1 block using display:

    span{
    display:block;
    font-size:20px;
    }
    

    you will get it as a h1 without bold ,
    if you want it bold just add this to the css:

    font-weight:bold;
    

提交回复
热议问题