Justify
Justify Content Classes
.space-between
Sets the justify-content property to space-between, distributing items evenly along the main axis with space between them.
CSS equivalent: justify-content: space-between;
Example usage:
.j-content-between
Alias class for .space-between
. Sets the justify-content property to space-between.
CSS equivalent: justify-content: space-between;
Example usage:
.j-content-center
Sets the justify-content property to center, aligning items along the main axis at the center of the container.
CSS equivalent: justify-content: center;
Example usage:
.j-content-initial
Sets the justify-content property to initial, restoring the default justify content behavior.
CSS equivalent: justify-content: initial;
Example usage:
.j-content-inherit
Sets the justify-content property to inherit, inheriting the justify content behavior from its parent.
CSS equivalent: justify-content: inherit;
Example usage:
.j-content-start
Sets the justify-content property to flex-start, aligning items along the main axis at the start of the container.
CSS equivalent: justify-content: flex-start;
Example usage:
.j-content-end
Sets the justify-content property to flex-end, aligning items along the main axis at the end of the container.
CSS equivalent: justify-content: flex-end;
Example usage:
.content-end
Sets the justify-content property to flex-end and align-content property to flex-end, aligning the content at the end of the container along both the main and cross axes.
CSS equivalent:
Example usage:
.j-content-around
Sets the justify-content property to space-around, distributing items evenly along the main axis with equal space around them.
CSS equivalent: justify-content: space-around;
Example usage:
.j-content-evenly
Sets the justify-content property to space-evenly, distributing items evenly along the main axis with equal space around them.
CSS equivalent: justify-content: space-evenly;
Example usage:
Justify Items Classes
.j-items-start
Sets the justify-items property to flex-start, aligning items along the inline axis at the start of the container.
CSS equivalent: justify-items: flex-start;
Example usage:
.j-items-end
Sets the justify-items property to flex-end, aligning items along the inline axis at the end of the container.
CSS equivalent: justify-items: flex-end;
Example usage:
.j-items-center
Sets the justify-items property to center, aligning items along the inline axis at the center of the container.
CSS equivalent: justify-items: center;
Example usage:
.j-items-baseline
Sets the justify-items property to baseline, aligning items along the inline axis based on their baseline.
CSS equivalent: justify-items: baseline;
Example usage:
.j-items-stretch
Sets the justify-items property to stretch, stretching items along the inline axis to fill the container.
CSS equivalent: justify-items: stretch;
Example usage:
.j-items-initial
Sets the justify-items property to initial, restoring the default justify items behavior.
CSS equivalent: justify-items: initial;
Example usage:
.j-items-inherit
Sets the justify-items property to inherit, inheriting the justify items behavior from its parent.
CSS equivalent: justify-items: inherit;
Example usage:
Justify Self Classes
.j-self-auto
Sets the justify-self property to auto, allowing the item to inherit its parent's justify content value.
CSS equivalent: justify-self: auto;
Example usage:
.j-self-start
Sets the justify-self property to flex-start, aligning the item at the start of the container along the main axis.
CSS
equivalent: justify-self: flex-start;
Example usage:
.j-self-end
Sets the justify-self property to flex-end, aligning the item at the end of the container along the main axis.
CSS equivalent: justify-self: flex-end;
Example usage:
.j-self-center
Sets the justify-self property to center, aligning the item at the center of the container along the main axis.
CSS equivalent: justify-self: center;
Example usage:
.j-self-baseline
Sets the justify-self property to baseline, aligning the item based on its baseline along the main axis.
CSS equivalent: justify-self: baseline;
Example usage:
.j-self-stretch
Sets the justify-self property to stretch, stretching the item to fill the container along the main axis.
CSS equivalent: justify-self: stretch;
Example usage:
.j-self-initial
Sets the justify-self property to initial, restoring the default justify self behavior.
CSS equivalent: justify-self: initial;
Example usage:
.j-self-inherit
Sets the justify-self property to inherit, inheriting the justify self behavior from its parent.
CSS equivalent: justify-self: inherit;
Example usage:
Last updated