In Bootstrap 4 .float-{sm,md,lg,xl}-{left,right,none}
classes were added for responsive floats, and replaced .pull-left
and .pull-right
.
That means:
.pull-right
was replaced by .float-right
.pull-left
was replaced by .float-left
.pull-xs-right
is wrong, replace .pull
by .float
the xs
between pull and right stands for extra small which determines the size of the element. The following are the options to change the element size: {xs,sm,md,lg,xl}
where xs
= extra small, sm
= small, md
= medium, lg
= large and xl
= extra large
See: https://v4-alpha.getbootstrap.com/migration/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…