Vertical line spacer between two divs

前端 未结 7 529
刺人心
刺人心 2021-02-04 02:58

So I have two divs. One left div with navigation links and one right div that populates with content depending on what link you click on the left. I would like to have a verti

7条回答
  •  醉梦人生
    2021-02-04 03:42

    you can use the css border-left on the right div.

    .vertical_line { border-left: 1px solid #f2f2f2; }
    
    

    first div

    second div

提交回复
热议问题