Basic Usage
Blobs are provided through SVG embedded in Jumpstart's CSS and can be invoked by simply adding class blob blob-(1-5)
to a div element.
You must add valid Bootstrap h-##
and w-##
utility classes to control the height and width of the blob.
Other utility classes such as bg-*
, opacity-##
, and positioning / transform classes can be added to further customize the blob color, shape and position. For more information, see the Utility Classes page.
<div class="position-relative min-vh-30 rounded o-hidden bg-primary-3">
<div class="blob blob-1 w-50 h-50 bg-gradient"></div>
</div>
.blob
-
Add to a
<div>
to invoke a blob graphic .blob-(1-5)
-
Add to
<div.blob>
to select the blob style
Note: Blobs have position: absolute;
by default