Created
June 4, 2017 18:08
-
-
Save abhishekdagarit/4a46bb23fe039237730a903169897eb8 to your computer and use it in GitHub Desktop.
Align an image to centre in bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use class “centre-block" | |
There is .center-block class in Twitter Bootstrap 3 (Since v3.0.1), so use: | |
<img src="..." alt="..." class="img-responsive center-block" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment