Grid Row Span
Control the row span of a grid item.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
Allow an item to span across multiple rows.
A
B
C
D
E
<div class="d-g g-4 gtc-3 h-75"> <div class="d-f ai-c gr-s-2 jc-c p-4 bg-indigo c-white">A</div> <div class="d-f ai-c jc-c p-4 bg-indigo-8 c-indigo-5">B</div> <div class="d-f ai-c jc-c p-4 bg-indigo-8 c-indigo-5">C</div> <div class="d-f ai-c jc-c p-4 bg-indigo-8 c-indigo-5">D</div> <div class="d-f ai-c jc-c p-4 bg-indigo-8 c-indigo-5">E</div></div>Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:gr-*Small≥640px
md:gr-*Medium≥768px
lg:gr-*Large≥1024px
xxl:gr-*Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:gr-*