Make new line without using
in HTML

前端 未结 7 1357
时光取名叫无心
时光取名叫无心 2021-02-02 10:58

I want to make each one of these element is different line, without using
in HTML,

is block element but I have to fix its

7条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-02 11:20

    Alternative way:

    Remove float:left; in h1 and display: inline-block; in a.view-options

    Then add

    h1:after, a:after {
        content:"\a";
        white-space: pre;
    }
    

    See http://jsfiddle.net/8my6q/

提交回复
热议问题