Skip to content

Negative Margins classes for easy custom gutters #26681

@garhbod

Description

@garhbod

Lets say you want to adjust the gutter of col for a section of your website. The class no-gutters could be used with the negative margin class mx-n1 and the padding class px-1 added to the col

<div class="row no-gutters mx-n1">
    <div class="col px-1">
    </div>
    <div class="col px-1">
    </div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions