Add classes to an element to easily round its corners.
<div class="bd-example bd-example-images">
- <img data-src="holder.js/100x100" class="rounded" alt="Example rounded image">
- <img data-src="holder.js/100x100" class="rounded-top" alt="Example top rounded image">
- <img data-src="holder.js/100x100" class="rounded-right" alt="Example right rounded image">
- <img data-src="holder.js/100x100" class="rounded-bottom" alt="Example bottom rounded image">
- <img data-src="holder.js/100x100" class="rounded-left" alt="Example left rounded image">
- <img data-src="holder.js/100x100" class="rounded-circle" alt="Completely round image">
+ <img data-src="holder.js/75x75" class="rounded" alt="Example rounded image">
+ <img data-src="holder.js/75x75" class="rounded-top" alt="Example top rounded image">
+ <img data-src="holder.js/75x75" class="rounded-right" alt="Example right rounded image">
+ <img data-src="holder.js/75x75" class="rounded-bottom" alt="Example bottom rounded image">
+ <img data-src="holder.js/75x75" class="rounded-left" alt="Example left rounded image">
+ <img data-src="holder.js/75x75" class="rounded-circle" alt="Completely round image">
+ <img data-src="holder.js/75x75" class="rounded-0" alt="Example non-rounded image (overrides rounding applied elsewhere)">
</div>
{% highlight html %}
<img src="..." alt="..." class="rounded-bottom">
<img src="..." alt="..." class="rounded-left">
<img src="..." alt="..." class="rounded-circle">
+<img src="..." alt="..." class="rounded-0">
{% endhighlight %}