在引导程序中增加卡之间的间隔

时间:2018-10-23 12:28:15

标签: html css

我有4张卡,我需要在所有卡之间添加一些间距,因为它们看起来像是一张又一张。我试过添加margin-left,但是它实际上也不起作用,我也尝试过添加ml-2类,但是如果我这样做,它将把一张卡放到另一行中,我也不希望这样: (

代码:

ArrayList

谢谢!

2 个答案:

答案 0 :(得分:1)

try to put padding on the card class :

    padding: 10px;

答案 1 :(得分:0)

您可以使用Bootstrap间距实用程序之一。

https://getbootstrap.com/docs/4.1/utilities/spacing/

例如,将此div放在两张卡片之间:

Dim DBws as Worksheet
Set DBws = Target.Sheets("Raw Data")
Set HeaderCell = DataRng.Find("Received", LookAt:=xlPart)
If HeaderCell Is Nothing Then Set HeaderCell = DataRng.Find("Received", LookAt:=xlWhole)
LastR = lastRow(Tws, 1)
Set DataRng = DBws.Range(Cells(HeaderCell.Row, HeaderCell.Column), Cells(LastR, HeaderCell.Column))        

With DBws
    .Columns.AutoFit
    .AutoFilter.Sort.SortFields.Clear '<--- Debugging highlights this line
    .AutoFilter.Sort.SortFields.Add2 Key:= _
    DataRng, SortOn:=xlSortOnValues, Order:=xlAscending, DataOption _
    :=xlSortNormal

    With .AutoFilter.Sort
        .Header = xlYes
        .MatchCase = False
        .Orientation = xlTopToBottom
        .SortMethod = xlPinYin
        .Apply
    End With
End With