Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / contents / avatars.pug
diff options
context:
space:
mode:
1 files changed, 15 insertions, 12 deletions
-rw-r--r--docs/src/contents/avatars.pug27
diff --git a/docs/src/contents/avatars.pug b/docs/src/contents/avatars.pug
index 2e9886c..4e345c6 100644
--- a/docs/src/contents/avatars.pug
+++ b/docs/src/contents/avatars.pug
@@ -28,6 +28,21 @@ p
| Add the #[code avatar] class and avatar size class to #{'<div>'} element.
| The #[code data-initial] attribute is the name appear inside the avatar.
+pre.code(data-lang='HTML')
+ code
+ :highlight(lang="html")
+ <!-- Basic avatar examples -->
+ <figure class="avatar avatar-xl">
+ <img src="img/avatar-1.png" alt="...">
+ </figure>
+
+ <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;"></figure>
+
+ <!-- Show initals when avatar image is unavailable or not fully loaded -->
+ <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;">
+ <img src="img/avatar-1.png" alt="...">
+ </figure>
+
.docs-demo.columns
.column.col-6.col-xs-12
figure.avatar.avatar-xl
@@ -49,22 +64,10 @@ p
pre.code(data-lang='HTML')
code
:highlight(lang="html")
- <!-- Basic avatar examples -->
- <figure class="avatar avatar-xl">
- <img src="img/avatar-1.png" alt="...">
- </figure>
-
<figure class="avatar avatar-xl">
<img src="img/avatar-1.png" alt="...">
<img src="img/avatar-5.png" class="avatar-icon" alt="...">
</figure>
-
- <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;"></figure>
-
- <!-- Show initals when avatar image is unavailable or not fully loaded -->
- <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;">
- <img src="img/avatar-1.png" alt="...">
- </figure>
.docs-demo.columns
.column.col-6.col-xs-12