2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

update content docs

This commit is contained in:
Mark Otto
2017-05-27 22:16:44 -07:00
parent fdf4b7be5f
commit 968c0c6971
5 changed files with 13 additions and 41 deletions
+2 -8
View File
@@ -1,17 +1,11 @@
---
layout: docs
title: Images
description: Documentation and examples for styling images with Bootstrap.
description: Documentation and examples for opting images into responsive behavior (so they never become larger than their parent elements) and add lightweight styles to them—all via classes.
group: content
toc: true
---
Opt your images into responsive behavior (so they never become larger than their parent elements) and add lightweight styles to them—all via classes.
## Contents
* Will be replaced with the ToC, excluding the "Contents" header
{:toc}
## Responsive images
Images in Bootstrap are made responsive with `.img-fluid`. `max-width: 100%;` and `height: auto;` are applied to the image so that it scales with the parent element.