How to line-break from css, without using
?

后端 未结 26 1541
攒了一身酷
攒了一身酷 2020-11-22 15:49

output:

hello
How are you

code:

hello
How are you

Ho

26条回答
  •  庸人自扰
    2020-11-22 16:28

    In case this helps someone...

    You could do this:

    This is an inline link?

    With this css:

    a.on-new-line:before { 
      content: ' '; 
      font-size:0; 
      display:block;
      line-height:0;
    }
    

提交回复
热议问题