From 92a9b68372d05f22b4a9ed2eee94e28f3b4e341c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 5 Sep 2017 21:08:17 -0700 Subject: [PATCH] link to css tricks article, add code snippet to example --- docs/4.0/layout/grid.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/4.0/layout/grid.md b/docs/4.0/layout/grid.md index b61ecd3df4..cffc2e3287 100644 --- a/docs/4.0/layout/grid.md +++ b/docs/4.0/layout/grid.md @@ -10,7 +10,10 @@ toc: true Bootstrap's grid system uses a series of containers, rows, and columns to layout and align content. It's built with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes) and is fully responsive. Below is an example and an in-depth look at how the grid comes together. -
+**New to or unfamiliar with flexbox?** [Read this CSS Tricks flexbox guide](https://css-tricks.com/snippets/css/a-guide-to-flexbox/#flexbox-background) for background, terminology, guidelines, and code snippets. + +
+{% example html %}
@@ -24,6 +27,7 @@ Bootstrap's grid system uses a series of containers, rows, and columns to layout
+{% endexample %}
The above example creates three equal-width columns on small, medium, large, and extra large devices using our predefined grid classes. Those columns are centered in the page with the parent `.container`.