• Problems

    This line enable URL Rewriting . It must be enabled via the RewriteEngine directive! and if your .htaccess file is going to use rewrite rules, you should always include this line. Otherwise, you can’t be sure if its enabled or not. The string “on” is case insensitive.

In this chapter we will learn Bootstrap support for images.
Bootstrap provides three classes that can be used to apply some simple styles to images:
 ? .img-rounded: adds border-radius:6px to give the image rounded corners.
 ? .img-circle: makes the entire image round by adding border-radius:500px.
 ? .img-thumbnail: adds a bit of padding and a gray border:
The following example demonstrates this:
<img src="/bootstrap/images/download.png" class="img-rounded">
<img src="/bootstrap/images/download.png" class="img-circle">
 <img src="/bootstrap/images/download.png" class="img-thumbnail">



Responsive images :
Bootstrap 3 allows to make the images responsive by adding a class .img-responsive to the <img>tag.
 This class applies max-width: 100%; and
height: auto; to the image so that it scales nicely to the parent element.

No comments:

Post a Comment