1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 01:21:49 +02:00

Add loading="lazy" in images (#30199)

This commit is contained in:
XhmikosR
2020-03-05 10:12:59 +02:00
committed by GitHub
parent 414314f3cb
commit 7eaf7528fc
5 changed files with 16 additions and 10 deletions

View File

@@ -46,6 +46,9 @@
<div class="mx-5 border-bottom">
<img class="img-fluid mt-3 mx-auto" srcset="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png,
/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes@2x.png 2x"
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png" alt="Bootstrap Themes" width="500" height="200">
src="/docs/{{ .Site.Params.docs_version }}/assets/img/bootstrap-themes.png"
alt="Bootstrap Themes"
width="500" height="200"
loading="lazy">
</div>
</div>