bs4-utilities-for-bs3

WebJar for bs4-utilities-for-bs3

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

bs4-utilities-for-bs3
Last Version

Last Version

4.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

bs4-utilities-for-bs3
WebJar for bs4-utilities-for-bs3
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/jbarreiros/bs4-utilities-for-bs3

Download bs4-utilities-for-bs3

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/bs4-utilities-for-bs3/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>bs4-utilities-for-bs3</artifactId>
    <version>4.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/bs4-utilities-for-bs3/
implementation 'org.webjars.npm:bs4-utilities-for-bs3:4.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/bs4-utilities-for-bs3/
implementation ("org.webjars.npm:bs4-utilities-for-bs3:4.0.1")
'org.webjars.npm:bs4-utilities-for-bs3:jar:4.0.1'
<dependency org="org.webjars.npm" name="bs4-utilities-for-bs3" rev="4.0.1">
  <artifact name="bs4-utilities-for-bs3" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='bs4-utilities-for-bs3', version='4.0.1')
)
libraryDependencies += "org.webjars.npm" % "bs4-utilities-for-bs3" % "4.0.1"
[org.webjars.npm/bs4-utilities-for-bs3 "4.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.npm : bootstrap jar [4.0.0,5)
org.webjars.npm : bootstrap-sass jar [3.3.7]

Project Modules

There are no modules declared in this project.

Bootstrap 4's Utility Classes for Bootstrap 3

Backports Bootstrap 4's awesome utility/helper classes for use in your Bootstrap 3 project.

Using

  • Install with npm: npm install bs4-utilities-for-bs3
  • CSS only
    • <link rel="stylesheet" href="dist/css/bs4-utilities-for-bs3.css">
  • Import SASS
    • @import 'node_modules/bs4-utilities-for-bs3/src/bs4-utilities-for-bs3'
    • Tip: Avoid specifying "node_modules/" in the path by using the includePaths option.

Reference

Spacing

BS4 size BS3 size Notes
1 xs Ex: .mt-1 for margin-top: $padding-xs-vertical;
2 sm Ex: .ml-2 for margin-left: $padding-sm-horizontal;
3 default Ex: .pt-3 for padding-top: $padding-base-vertical;
4 lg Ex: .pl-4 for padding-left: $padding-lg-horizontal;
5 NA BS3 doesn't have an equivalent size.

Utilities deprecated/removed in BS4

BS3 Class Notes
.caret Not available in BS4
.center-block Same as .mx-auto
.show Same as .d-(inline|block|etc)
.hide Same as .d-none
.pull-left Same as .float-left
.pull-right Same as .float-right
.visible-*, .hidden-* Replaced by .d-* utilities

Versions

Version
4.0.1