CSS width 100% including overflow

前端 未结 1 1867
清酒与你
清酒与你 2021-02-07 00:58

For various reasons, I have a nested ol inside of a div, where the contents of the list exceeds the size of the container.

Because the containe

相关标签:
1条回答
  • 2021-02-07 01:53

    Just use display: inline-block. You can read more in the W3C specs.

    Replace width:100% with display:inline-block in those two element styles.

    0 讨论(0)
提交回复
热议问题