From dc52029beaff899242bdff8e9c00a932959609ba Mon Sep 17 00:00:00 2001 From: Ken Dale Date: Sat, 26 Nov 2016 19:47:53 -0500 Subject: [PATCH] Add .rounded-0 utility class (#21214) * Add rounded-0 class --- docs/utilities/borders.md | 14 ++++++++------ scss/utilities/_borders.scss | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/utilities/borders.md b/docs/utilities/borders.md index 0088a28275..1eb716c1f9 100644 --- a/docs/utilities/borders.md +++ b/docs/utilities/borders.md @@ -25,12 +25,13 @@ Add classes to an element to remove all borders or some borders. Add classes to an element to easily round its corners.
- Example rounded image - Example top rounded image - Example right rounded image - Example bottom rounded image - Example left rounded image - Completely round image + Example rounded image + Example top rounded image + Example right rounded image + Example bottom rounded image + Example left rounded image + Completely round image + Example non-rounded image (overrides rounding applied elsewhere)
{% highlight html %} @@ -40,4 +41,5 @@ Add classes to an element to easily round its corners. ... ... ... +... {% endhighlight %} diff --git a/scss/utilities/_borders.scss b/scss/utilities/_borders.scss index e3e31de4bf..015c9b943b 100644 --- a/scss/utilities/_borders.scss +++ b/scss/utilities/_borders.scss @@ -31,3 +31,7 @@ .rounded-circle { border-radius: 50%; } + +.rounded-0 { + border-radius: 0; +}