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

Replace img-fluid by w-100 to conform with HTML

This commit is contained in:
Isma 2018-02-18 18:22:41 +00:00 committed by Mark Otto
parent b33316dba3
commit ae1a068d02

View file

@ -24,7 +24,7 @@ Carousels don't automatically normalize slide dimensions. As such, you may need
### Slides only
Here's a carousel with slides only. Note the presence of the `.d-block` and `.img-fluid` on carousel images to prevent browser default image alignment.
Here's a carousel with slides only. Note the presence of the `.d-block` and `.w-100` on carousel images to prevent browser default image alignment.
{% example html %}
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">