how to clear the last
  • tag within a
    • 后端 未结 2 467
      梦毁少年i
      梦毁少年i 2021-02-03 09:57

      I know this is pretty basic, but it is giving me hangups. I have a basic list:

      2条回答
      •  夕颜
        夕颜 (楼主)
        2021-02-03 10:39

        If you want to have the background behind a block item which has only floated items inside, then:

        ul {
          overflow: auto;
        }
        

      提交回复
      热议问题