uix-kit
Version:
A free web kits for fast web design and development, compatible with Bootstrap v5.
110 lines (61 loc) • 2.82 kB
HTML
<html lang="@@{website_lang}" dir="@@{website_dirLTR}">
<head>
<meta charset="@@{website_charset}" />
<title>Responsive Images - @@{website_title}</title>
@@include('./src/components/_global/include-header.html')
</head>
<body class="page">
@@include('./src/components/_global/include-loader.html')
@@include('./src/components/_global/include-toggle-trigger.html')
<div class="uix-wrapper">
<!-- Header Area
============================================= -->
<header class="uix-header__container">
<div class="uix-header">
<div class="container">
@@include('./src/components/_global/include-brand.html')
@@include('./src/components/_global/include-menu.html')
</div>
<!-- .container end -->
<div class="uix-clearfix"></div>
</div>
</header>
<div class="uix-header__placeholder js-uix-header__placeholder-autoheight"></div>
<main id="uix-maincontent">
<!-- Content
====================================================== -->
<section class="uix-spacing--s uix-spacing--no-bottom">
<div class="container">
<div class="row">
<div class="col-12">
<h3>Responsive Images</h3>
<p>Resize the browser to see different versions of the picture loading at different viewport sizes.<br>
The browser looks for the first source element where the media query matches the user's current viewport width,
and fetches the image specified in the <code>srcset</code> attribute.</p>
<p class="uix-striking-msg uix-striking-msg--info">Note: Please use your phone to preview</p>
<hr>
</div>
</div>
<!-- .row end -->
</div>
<!-- .container end -->
</section>
<!-- Content
====================================================== -->
<section class="uix-spacing--s">
<div class="container">
<img
alt=""
srcset="assets/images/placeholder/800x600.jpg 768w,
assets/images/placeholder/1440x900.jpg 1440w"
size="(max-width: 768px) 100vw, 50vw"
src="assets/images/placeholder/1440x900.jpg" />
</div>
<!-- .container end -->
</section>
</main>
@@include('./src/components/_global/include-copyright.html')
</div>
<!-- .uix-wrapper end -->
@@include('./src/components/_global/include-footer.html')