Is there a vr (vertical rule) in html?

后端 未结 28 2257
花落未央
花落未央 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:21

    For people who're trying to make columns for text, there's a column-rule property which you should consider using!

    .content{
      margin: 20px 5%;
      padding: 5px;
      
    }
    .content p{
      -webkit-column-count: 3;
      -moz-column-count:3;
      -o-column-count:3;
      column-count: 3; 
      -webkit-column-rule: 1px solid #ccc;
      -moz-column-rule: 1px solid #ccc;
      -o-column-rule: 1px solid #ccc;
      column-rule: 1px solid #ccc;
     
      text-align: justify;
    }

    Lorizzle ipsum tellivizzle sit amizzle, consectetizzle adipiscing elit. Nullam away things, shizznit stuff, suscipizzle shiz, gravida vizzle, funky fresh. Doggy phat tortizzle. Check it out its fo rizzle. Bizzle izzle shizzle my nizzle crocodizzle dapibus turpizzle tempizzle i'm in the shizzle. Mauris gizzle nibh et ghetto. Vestibulum ass phat. Pellentesque eleifend nizzle nisi. Fo shizzle my shizz shiznit fo shizzle dizzle. Donec dapibus. That's the shizzle uhuh ... yih! urna, pretium eu, mattizzle cool, shit things, nunc. Fizzle suscipizzle. Shizzlin dizzle semper daahng dawg boofron bow wow wow.

提交回复
热议问题