1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

mention how to do edge-to-edge in docs

/cc #23070
This commit is contained in:
Mark Otto 2017-07-14 16:31:34 -07:00
parent 16fdaa2bef
commit 64bf037bd1

View file

@ -434,6 +434,8 @@ The gutters between columns in our predefined grid classes can be removed with `
Here's the source code for creating these styles. Note that column overrides are scoped to only the first children columns and are targeted via [attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors). While this generates a more specific selector, column padding can still be further customized with [spacing utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/). Here's the source code for creating these styles. Note that column overrides are scoped to only the first children columns and are targeted via [attribute selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors). While this generates a more specific selector, column padding can still be further customized with [spacing utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/).
**Need an edge-to-edge design?** Drop the parent `.container` or `.container-fluid`.
{% highlight sass %} {% highlight sass %}
.no-gutters { .no-gutters {
margin-right: 0; margin-right: 0;