1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02: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 ### 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 %} {% example html %}
<div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel"> <div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel">