Justify Items
Controls the alignment of grid elements relative to their inline axis.
| Class | Style | 
|---|---|
ji-c | justify-items: center | 
ji-e | justify-items: end | 
ji-s | justify-items: start | 
ji-st | justify-items: stretch | 
Center
The items will be centered within their grid area along the inline axis.
<div class="p-r tc-white">  <div class="d-g g-4 gtc-3 ji-c" id="area">    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">A</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">B</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">C</div>  </div></div>End
The items will be aligned to the end of their grid area along the inline axis.
<div class="p-r tc-white">  <div class="d-g g-4 gtc-3 ji-e" id="area">    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">A</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">B</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">C</div>  </div></div>Start
The items will be aligned to the start of their grid area along the inline axis.
<div class="p-r tc-white">  <div class="d-g g-4 gtc-3 ji-s" id="area">    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">A</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">B</div>    <div class="ai-c bg-indigo d-f d-14 jc-c rad-1">C</div>  </div></div>Stretch
The items will stretch to fill their grid area along the inline axis.
<div class="p-r tc-white">  <div class="d-g g-4 gtc-3 ji-st" id="area">    <div class="ai-c bg-indigo d-f h-14 jc-c rad-1">A</div>    <div class="ai-c bg-indigo d-f h-14 jc-c rad-1">B</div>    <div class="ai-c bg-indigo d-f h-14 jc-c rad-1">C</div>  </div></div>Using utility variants
Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.
Using media queries
You can combine responsive breakpoints like sm:ji-*, md:ji-*, lg:ji-*, and xxl:ji-* to allow targeting specific utilities in different viewports.
Using hover states
Alternatively, you can apply :hover by using h:ji-* utility to override elements and change their values when hovering over them.