Margin for bottom border

后端 未结 4 1229
忘了有多久
忘了有多久 2021-02-13 12:30

Is there any way I can only add margin to the border ?

Only border should have margin not the text. I am trying to move border not the text field. Border need to be shri

4条回答
  •  Happy的楠姐
    2021-02-13 12:40

    In your case, where you have no borders left and right, you can simply adjust the line-height.

    .margin-check {
       line-height:2em;
    }
    

提交回复
热议问题