]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add documentation for img.is-rounded
authorRodrigo O <rodorgas@users.noreply.github.com>
Wed, 1 Aug 2018 19:07:37 +0000 (16:07 -0300)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 1 Aug 2018 20:26:05 +0000 (21:26 +0100)
docs/documentation/elements/image.html

index 08b03fc2e3b4472d5229aa6c5c1b8d6a3e89bbbf..ba59c2e3cce68549f0113827c255159c234f98e6 100644 (file)
@@ -28,6 +28,12 @@ meta:
 </figure>
 {% endcapture %}
 
+{% capture rounded_image %}
+<figure class="image is-128x128">
+  <img class="is-rounded" src="{{site.url}}/images/placeholders/128x128.png">
+</figure>
+{% endcapture %}
+
 {% capture retina_image %}
 <figure class="image is-128x128">
   <img src="{{site.url}}/images/placeholders/256x256.png">
@@ -58,6 +64,14 @@ meta:
   </tbody>
 </table>
 
+{% include elements/anchor.html name="Rounded images" %}
+
+<div class="content">
+  <p>You can also make rounded images, using <code>.is-rounded</code> class:</p>
+</div>
+
+{% include elements/snippet.html content=rounded_image %}
+
 {% include elements/anchor.html name="Retina images" %}
 
 <div class="content">