Is there a vr (vertical rule) in html?

后端 未结 28 2274
花落未央
花落未央 2020-12-02 11:37

I know there is a hr (horizontal rule) in html, but I don\'t believe there is a vr (vertical rule). Am I wrong and if not, why isn\'t there a vertical rule?

28条回答
  •  忘掉有多难
    2020-12-02 12:19

    Ancient question but I solved this with display:flex; and it works great:

    This is a div
    This is another div

    https://jsfiddle.net/6qfd59vm/3/

    This solution also doesn't require fixed height.

提交回复
热议问题