Full width button inside a small wrapper
A malleable grid without equalization set. on the cell widths. In this example, for sm
up, columns will adopt whatever width they require for their content. CSS grid requires column placement classes to know where you want your columns, so that it can figure out how many columns you need.
grid gap-1
sm:col-1
A narrow columnsm:col-2
This will be a wide column because it has a lot of content. This will be a wide column because it has a lot of content. This will be a wide column because it has a lot of content. sm:col-3
Another narrow columngrid sm:equal-2-cols gap-2
grid sm:equal-2-cols md:equal-3-cols gap-2
sm:col-span-2
grid sm:equal-4-cols gap-2
sm:col-span-2
sm:col-span-3
Card title
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum.
Media object
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum.
Media object
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum.
A “two-up” feature block
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum.
grid md:equal-3-cols lg:equal-4-cols gap-3
md:col-2 md:col-span-2
Title of This Article
md:col-2 md:col-span-2 lg:col-4 lg:row-span-2 p-1 relative
sticky top
On this page TOC
md:col-2 md:col-span-2
Introduction
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
Discussion
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
Conclusion
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
md:col-1 md:row-1 md:rows-1-3 lg:rows-1-2
Navigation menu
content-grid
demoLorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
Here’s a styled <p class="popout">
:
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
Here’s a styled <div class="expand">
:
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Magni rem animi quaerat accusantium illum architecto, nemo, ex harum voluptatum adipisci eum blanditiis dolorum. Natus debitis quisquam, expedita accusantium quos cumque?
Here’s a styled <p class="full-bleed">
:
full-bleed
— expands to the full width of the avilable space. If there are no sidebars, it will reach the sides of the viewport.