|
@@ -77,7 +77,7 @@ dimensions:
|
|
|
{% include anchor.html name="Responsive images with ratios" %}
|
|
|
|
|
|
<div class="content">
|
|
|
- <p>If you don't know the exact dimensions but know the <strong>ratio</strong> instead, you can use one of the <strong>5 ratio modifiers</strong>:</p>
|
|
|
+ <p>If you don't know the exact dimensions but know the <strong>ratio</strong> instead, you can use one of the <strong>16 ratio modifiers</strong>, which include [common aspect ratios in still photography](https://en.wikipedia.org/wiki/Aspect_ratio_(image)#Still_photography):</p>
|
|
|
</div>
|
|
|
|
|
|
<table id="images" class="table is-bordered">
|
|
@@ -85,13 +85,18 @@ dimensions:
|
|
|
<tr>
|
|
|
<td><code>image is-square</code></td>
|
|
|
<td><figure class="image is-square"><img src="{{site.url}}/images/placeholders/480x480.png"></figure></td>
|
|
|
- <td>Square (or 1by1)</td>
|
|
|
+ <td>Square (or 1 by 1)</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td><code>image is-1by1</code></td>
|
|
|
<td><figure class="image is-1by1"><img src="{{site.url}}/images/placeholders/480x480.png"></figure></td>
|
|
|
<td>1 by 1</td>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-5by4</code></td>
|
|
|
+ <td><figure class="image is-5by4"><img src="{{site.url}}/images/placeholders/600x480.png"></figure></td>
|
|
|
+ <td>5 by 4</td>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<td><code>image is-4by3</code></td>
|
|
|
<td><figure class="image is-4by3"><img src="{{site.url}}/images/placeholders/640x480.png"></figure></td>
|
|
@@ -102,6 +107,11 @@ dimensions:
|
|
|
<td><figure class="image is-3by2"><img src="{{site.url}}/images/placeholders/480x320.png"></figure></td>
|
|
|
<td>3 by 2</td>
|
|
|
</tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-5by3</code></td>
|
|
|
+ <td><figure class="image is-5by3"><img src="{{site.url}}/images/placeholders/800x480.png"></figure></td>
|
|
|
+ <td>5 by 3</td>
|
|
|
+ </tr>
|
|
|
<tr>
|
|
|
<td><code>image is-16by9</code></td>
|
|
|
<td><figure class="image is-16by9"><img src="{{site.url}}/images/placeholders/640x360.png"></figure></td>
|
|
@@ -112,7 +122,47 @@ dimensions:
|
|
|
<td><figure class="image is-2by1"><img src="{{site.url}}/images/placeholders/640x320.png"></figure></td>
|
|
|
<td>2 by 1</td>
|
|
|
</tr>
|
|
|
- </tbody>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-3by1</code></td>
|
|
|
+ <td><figure class="image is-3by1"><img src="{{site.url}}/images/placeholders/720x240.png"></figure></td>
|
|
|
+ <td>3 by 1</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-4by5</code></td>
|
|
|
+ <td><figure class="image is-4by5"><img src="{{site.url}}/images/placeholders/480x600.png"></figure></td>
|
|
|
+ <td>4 by 5</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-3by4</code></td>
|
|
|
+ <td><figure class="image is-3by4"><img src="{{site.url}}/images/placeholders/480x640.png"></figure></td>
|
|
|
+ <td>3 by 4</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-2by3</code></td>
|
|
|
+ <td><figure class="image is-2by3"><img src="{{site.url}}/images/placeholders/320x480.png"></figure></td>
|
|
|
+ <td>2 by 3</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-3by5</code></td>
|
|
|
+ <td><figure class="image is-3by5"><img src="{{site.url}}/images/placeholders/480x800.png"></figure></td>
|
|
|
+ <td>3 by 5</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-9by16</code></td>
|
|
|
+ <td><figure class="image is-9by16"><img src="{{site.url}}/images/placeholders/360x640.png"></figure></td>
|
|
|
+ <td>9 by 16</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-1by2</code></td>
|
|
|
+ <td><figure class="image is-1by2"><img src="{{site.url}}/images/placeholders/320x640.png"></figure></td>
|
|
|
+ <td>1 by 2</td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td><code>image is-1by3</code></td>
|
|
|
+ <td><figure class="image is-1by3"><img src="{{site.url}}/images/placeholders/240x720.png"></figure></td>
|
|
|
+ <td>1 by 3</td>
|
|
|
+ </tr>
|
|
|
+ </tbody>
|
|
|
</table>
|
|
|
|
|
|
<div class="content">
|