mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 15:44:51 +02:00
mention responsive image and google maps
This commit is contained in:
@@ -208,7 +208,6 @@ title: Bootstrap Documentation
|
|||||||
|
|
||||||
<h3>HTML5 doctype required</h3>
|
<h3>HTML5 doctype required</h3>
|
||||||
<p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
|
<p>Bootstrap makes use of certain HTML elements and CSS properties that require the use of the HTML5 doctype. Include it at the beginning of all your projects.</p>
|
||||||
|
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
@@ -219,11 +218,13 @@ title: Bootstrap Documentation
|
|||||||
<h3>Mobile first</h3>
|
<h3>Mobile first</h3>
|
||||||
<p>With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, <strong>Bootstrap is mobile first</strong>. Mobile first styles can be found throughout the entire library instead of in separate files.</p>
|
<p>With Bootstrap 2, we added optional mobile friendly styles for key aspects of the framework. With Bootstrap 3, we've rewritten the project to be mobile friendly from the start. Instead of adding on optional mobile styles, they're baked right into the core. In fact, <strong>Bootstrap is mobile first</strong>. Mobile first styles can be found throughout the entire library instead of in separate files.</p>
|
||||||
<p>To ensure proper rendering and touch zooming, <strong>add the viewport meta tag</strong> to your <code><head></code>.</p>
|
<p>To ensure proper rendering and touch zooming, <strong>add the viewport meta tag</strong> to your <code><head></code>.</p>
|
||||||
|
|
||||||
{% highlight html linenos %}
|
{% highlight html linenos %}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
<h3>Responsive images</h3>
|
||||||
|
<p>We automatically attempt to scale images to appropriate sizes with a global <code>max-width: 100%;</code> on all <code><img></code> elements. If you run into problems (e.g., with Google Maps), be sure to disable this property on a per-case basis.</p>
|
||||||
|
|
||||||
<h3>Typography and links</h3>
|
<h3>Typography and links</h3>
|
||||||
<p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>
|
<p>Bootstrap sets basic global display, typography, and link styles. Specifically, we:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
Reference in New Issue
Block a user