Summary Files Commits Branches @commit @diff @stats
path: root / index.html
diff options
context:
space:
mode:
1 files changed, 14 insertions, 0 deletions
-rw-r--r--index.html14
diff --git a/index.html b/index.html
index 9705e0c..ba35496 100644
--- a/index.html
+++ b/index.html
@@ -1197,6 +1197,15 @@
<figure class="avatar avatar-sm" data-initial="YZ" style="background-color: #8a93d7;"></figure>
<figure class="avatar avatar-xs" data-initial="YZ" style="background-color: #9ba2dd;"></figure>
</div>
+
+ <div class="column col-3">
+ <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5764c6;">
+ <img src="demo/img/avatar-1.png" />
+ </figure>
+ <figure class="avatar avatar-lg" data-initial="YZ" style="background-color: #6874cc;">
+ <img src="demo/img/avatar-2.png" />
+ </figure>
+ </div>
</div>
<section class="notes">
@@ -1216,6 +1225,11 @@
&lt;<span class="tag">/figure</span>&gt;
&lt;<span class="tag">figure</span> <span class="atn">class</span>=<span class="atv">&quot;avatar avatar-xl&quot;</span> <span class="atn">data-initial</span>=<span class="atv">&quot;YZ&quot;</span> <span class="atn">style</span>=<span class="atv">&quot;background-color: #5764c6;&quot;</span>&gt;&lt;<span class="tag">/figure</span>&gt;
+
+<span class="com">&lt;!-- Show initals when avatar image is unavailable or not fully loaded --&gt;</span>
+&lt;<span class="tag">figure</span> <span class="atn">class</span>=<span class="atv">&quot;avatar avatar-xl&quot;</span> <span class="atn">data-initial</span>=<span class="atv">&quot;YZ&quot;</span> <span class="atn">style</span>=<span class="atv">&quot;background-color: #5764c6;&quot;</span>&gt;
+ &lt;<span class="tag">img</span> <span class="atn">src</span>=<span class="atv">&quot;img/avatar-1.png&quot;</span> /&gt;
+&lt;<span class="tag">/figure</span>&gt;
</pre>
</section>