Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Herst edited this page Nov 7, 2018 · 4 revisions

E051

Bootlint v1.x (Bootlint for Bootstrap v4 and newer)

.pull-right and .pull-left classes, and manual style attributes with float: left or float: right are not allowed on .col-*-* elements

The grid already uses CSS floats to work, so manually applying floats like this will break the way the grid works.

Wrong:

<div class="col-sm-7 pull-right">
<div class="col-sm-7" style="float: left;">

Bootlint v1.x (Bootlint for Bootstrap v4 and newer)

.float-right and .float-left classes, and manual style attributes with float: left or float: right are not allowed on .col* elements

Wrong:

<div class="col-sm-7 float-right">
<div class="col-sm-7" style="float: left;">
Clone this wiki locally