What would be the best method to code heading/title for
    or
      , Like we have in ?
      前端 未结 6 1187
      青春惊慌失措
      青春惊慌失措 2021-02-01 00:40

      What would be the best method to code heading/title of

        or
          ? Like we have
      in
      6条回答
      •  广开言路
        2021-02-01 01:06

        how about making the heading a list-element with different styles like so

        • heading
        • list item
        • list item
        • list item
        • list item

        and the CSS

        ul .heading {font-weight: normal; list-style: none;}
        

        additionally, use a reset CSS to set margins and paddings right on the ul and li. here's a good reset CSS. once you've reset the margins and paddings, you can apply some margin on the list-elements other than the one's with the heading class, to indent them.

      提交回复
      热议问题