uikit 3.11.2-dev.f2970ffaa → 3.11.2-dev.f3ade19c4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +4 -49
- package/.prettierignore +14 -0
- package/.prettierrc.json +13 -0
- package/.webstorm.js +3 -3
- package/CHANGELOG.md +54 -18
- package/build/.eslintrc.json +1 -3
- package/build/build.js +26 -28
- package/build/icons.js +7 -11
- package/build/less.js +48 -36
- package/build/package.json +2 -2
- package/build/prefix.js +21 -18
- package/build/publishDev.js +6 -8
- package/build/release.js +20 -17
- package/build/scope.js +21 -11
- package/build/scss.js +72 -39
- package/build/util.js +71 -62
- package/build/wrapper/icons.js +0 -2
- package/dist/css/uikit-core-rtl.css +133 -201
- package/dist/css/uikit-core-rtl.min.css +1 -1
- package/dist/css/uikit-core.css +133 -201
- package/dist/css/uikit-core.min.css +1 -1
- package/dist/css/uikit-rtl.css +135 -207
- package/dist/css/uikit-rtl.min.css +1 -1
- package/dist/css/uikit.css +135 -207
- package/dist/css/uikit.min.css +1 -1
- package/dist/js/components/countdown.js +88 -133
- package/dist/js/components/countdown.min.js +1 -1
- package/dist/js/components/filter.js +408 -439
- package/dist/js/components/filter.min.js +1 -1
- package/dist/js/components/lightbox-panel.js +1091 -1319
- package/dist/js/components/lightbox-panel.min.js +1 -1
- package/dist/js/components/lightbox.js +1137 -1396
- package/dist/js/components/lightbox.min.js +1 -1
- package/dist/js/components/notification.js +94 -114
- package/dist/js/components/notification.min.js +1 -1
- package/dist/js/components/parallax.js +347 -372
- package/dist/js/components/parallax.min.js +1 -1
- package/dist/js/components/slider-parallax.js +345 -360
- package/dist/js/components/slider-parallax.min.js +1 -1
- package/dist/js/components/slider.js +749 -843
- package/dist/js/components/slider.min.js +1 -1
- package/dist/js/components/slideshow-parallax.js +345 -360
- package/dist/js/components/slideshow-parallax.min.js +1 -1
- package/dist/js/components/slideshow.js +628 -798
- package/dist/js/components/slideshow.min.js +1 -1
- package/dist/js/components/sortable.js +587 -620
- package/dist/js/components/sortable.min.js +1 -1
- package/dist/js/components/tooltip.js +324 -356
- package/dist/js/components/tooltip.min.js +1 -1
- package/dist/js/components/upload.js +155 -167
- package/dist/js/components/upload.min.js +1 -1
- package/dist/js/uikit-core.js +5326 -6526
- package/dist/js/uikit-core.min.js +1 -1
- package/dist/js/uikit-icons.js +7 -9
- package/dist/js/uikit-icons.min.js +1 -1
- package/dist/js/uikit.js +8031 -9659
- package/dist/js/uikit.min.js +1 -1
- package/jsconfig.json +1 -1
- package/package.json +64 -60
- package/src/js/api/boot.js +25 -32
- package/src/js/api/component.js +15 -28
- package/src/js/api/global.js +6 -12
- package/src/js/api/hooks.js +14 -33
- package/src/js/api/instance.js +7 -15
- package/src/js/api/state.js +199 -187
- package/src/js/components/countdown.js +26 -52
- package/src/js/components/filter.js +70 -66
- package/src/js/components/index.js +13 -13
- package/src/js/components/internal/lightbox-animations.js +14 -25
- package/src/js/components/internal/slider-preload.js +9 -0
- package/src/js/components/internal/slider-transitioner.js +66 -45
- package/src/js/components/internal/slideshow-animations.js +46 -64
- package/src/js/components/lightbox-panel.js +107 -105
- package/src/js/components/lightbox.js +17 -39
- package/src/js/components/notification.js +49 -43
- package/src/js/components/parallax.js +21 -46
- package/src/js/components/slider-parallax.js +13 -23
- package/src/js/components/slider.js +117 -89
- package/src/js/components/slideshow-parallax.js +1 -1
- package/src/js/components/slideshow.js +15 -13
- package/src/js/components/sortable.js +125 -106
- package/src/js/components/tooltip.js +41 -31
- package/src/js/components/upload.js +52 -63
- package/src/js/core/accordion.js +58 -48
- package/src/js/core/alert.js +9 -17
- package/src/js/core/core.js +17 -69
- package/src/js/core/cover.js +15 -15
- package/src/js/core/drop.js +110 -94
- package/src/js/core/form-custom.js +22 -27
- package/src/js/core/gif.js +3 -7
- package/src/js/core/grid.js +57 -58
- package/src/js/core/height-match.js +16 -29
- package/src/js/core/height-viewport.js +30 -34
- package/src/js/core/icon.js +47 -52
- package/src/js/core/img.js +153 -143
- package/src/js/core/index.js +39 -39
- package/src/js/core/leader.js +9 -18
- package/src/js/core/margin.js +21 -37
- package/src/js/core/modal.js +49 -36
- package/src/js/core/nav.js +2 -4
- package/src/js/core/navbar.js +113 -85
- package/src/js/core/offcanvas.js +51 -54
- package/src/js/core/overflow-auto.js +13 -17
- package/src/js/core/responsive.js +14 -12
- package/src/js/core/scroll.js +10 -20
- package/src/js/core/scrollspy-nav.js +34 -31
- package/src/js/core/scrollspy.js +37 -54
- package/src/js/core/sticky.js +175 -123
- package/src/js/core/svg.js +68 -83
- package/src/js/core/switcher.js +56 -47
- package/src/js/core/tab.js +7 -10
- package/src/js/core/toggle.js +69 -68
- package/src/js/core/video.js +22 -21
- package/src/js/mixin/animate.js +19 -20
- package/src/js/mixin/class.js +2 -4
- package/src/js/mixin/container.js +7 -11
- package/src/js/mixin/internal/animate-fade.js +73 -30
- package/src/js/mixin/internal/animate-slide.js +58 -41
- package/src/js/mixin/internal/slideshow-animations.js +7 -14
- package/src/js/mixin/internal/slideshow-transitioner.js +10 -17
- package/src/js/mixin/lazyload.js +20 -0
- package/src/js/mixin/media.js +5 -10
- package/src/js/mixin/modal.js +89 -66
- package/src/js/mixin/parallax.js +149 -107
- package/src/js/mixin/position.js +26 -20
- package/src/js/mixin/slider-autoplay.js +12 -21
- package/src/js/mixin/slider-drag.js +64 -65
- package/src/js/mixin/slider-nav.js +26 -35
- package/src/js/mixin/slider-reactive.js +2 -8
- package/src/js/mixin/slider.js +47 -60
- package/src/js/mixin/slideshow.js +12 -22
- package/src/js/mixin/swipe.js +72 -0
- package/src/js/mixin/togglable.js +89 -63
- package/src/js/uikit-core.js +2 -4
- package/src/js/uikit.js +2 -4
- package/src/js/util/ajax.js +25 -40
- package/src/js/util/animation.js +77 -75
- package/src/js/util/attr.js +17 -21
- package/src/js/util/class.js +14 -52
- package/src/js/util/dimensions.js +78 -49
- package/src/js/util/dom.js +39 -66
- package/src/js/util/env.js +7 -12
- package/src/js/util/event.js +60 -59
- package/src/js/util/fastdom.js +1 -6
- package/src/js/util/filter.js +17 -34
- package/src/js/util/index.js +1 -1
- package/src/js/util/lang.js +82 -121
- package/src/js/util/mouse.js +19 -17
- package/src/js/util/observer.js +36 -0
- package/src/js/util/options.js +35 -49
- package/src/js/util/player.js +41 -36
- package/src/js/util/position.js +54 -46
- package/src/js/util/selector.js +43 -58
- package/src/js/util/style.js +39 -49
- package/src/js/util/viewport.js +75 -64
- package/src/less/components/base.less +10 -33
- package/src/less/components/flex.less +0 -9
- package/src/less/components/form-range.less +48 -95
- package/src/less/components/form.less +0 -1
- package/src/less/components/height.less +3 -0
- package/src/less/components/leader.less +0 -1
- package/src/less/components/lightbox.less +0 -1
- package/src/less/components/modal.less +3 -7
- package/src/less/components/navbar.less +0 -7
- package/src/less/components/progress.less +14 -36
- package/src/less/components/slider.less +0 -3
- package/src/less/components/slideshow.less +0 -3
- package/src/less/components/text.less +16 -32
- package/src/less/components/utility.less +25 -0
- package/src/scss/components/base.scss +10 -33
- package/src/scss/components/flex.scss +0 -9
- package/src/scss/components/form-range.scss +48 -95
- package/src/scss/components/form.scss +3 -4
- package/src/scss/components/height.scss +3 -0
- package/src/scss/components/icon.scss +2 -2
- package/src/scss/components/leader.scss +0 -1
- package/src/scss/components/lightbox.scss +0 -1
- package/src/scss/components/modal.scss +3 -7
- package/src/scss/components/navbar.scss +0 -7
- package/src/scss/components/progress.scss +14 -36
- package/src/scss/components/search.scss +1 -1
- package/src/scss/components/slider.scss +0 -3
- package/src/scss/components/slideshow.scss +0 -3
- package/src/scss/components/text.scss +16 -32
- package/src/scss/components/utility.scss +25 -0
- package/src/scss/mixins-theme.scss +1 -1
- package/src/scss/mixins.scss +1 -1
- package/src/scss/variables-theme.scss +9 -9
- package/src/scss/variables.scss +9 -9
- package/tests/align.html +10 -10
- package/tests/animation.html +2 -2
- package/tests/article.html +2 -2
- package/tests/base.html +3 -3
- package/tests/card.html +10 -10
- package/tests/column.html +3 -3
- package/tests/comment.html +9 -9
- package/tests/dotnav.html +3 -3
- package/tests/image.html +296 -64
- package/tests/images/image-type.avif +0 -0
- package/tests/images/image-type.jpeg +0 -0
- package/tests/images/image-type.webp +0 -0
- package/tests/index.html +8 -8
- package/tests/js/index.js +114 -85
- package/tests/lightbox.html +10 -10
- package/tests/marker.html +2 -2
- package/tests/modal.html +8 -9
- package/tests/navbar.html +2 -2
- package/tests/overlay.html +7 -7
- package/tests/parallax.html +16 -7
- package/tests/position.html +12 -12
- package/tests/slidenav.html +12 -12
- package/tests/slider.html +20 -20
- package/tests/sortable.html +1 -1
- package/tests/sticky-parallax.html +87 -99
- package/tests/sticky.html +56 -24
- package/tests/svg.html +6 -6
- package/tests/table.html +11 -11
- package/tests/thumbnav.html +12 -12
- package/tests/transition.html +30 -30
- package/tests/utility.html +50 -33
- package/tests/video.html +1 -1
- package/tests/width.html +1 -1
- package/src/js/mixin/flex-bug.js +0 -56
- package/src/js/util/promise.js +0 -191
- package/tests/images/animated.gif +0 -0
package/tests/image.html
CHANGED
|
@@ -14,21 +14,292 @@
|
|
|
14
14
|
|
|
15
15
|
<h1>Image</h1>
|
|
16
16
|
|
|
17
|
-
<
|
|
17
|
+
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light" data-src="https://images.unsplash.com/photo-1495321308589-43affb814eee?fit=crop&w=1200&h=450&q=80" uk-img="loading: eager">
|
|
18
|
+
<h1>Background Image Loading Eager</h1>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<h2>Loading Lazy Attribute</h2>
|
|
18
22
|
|
|
19
23
|
<div class="uk-child-width-1-2@m" uk-grid>
|
|
20
24
|
<div>
|
|
21
|
-
<img
|
|
25
|
+
<img src="https://images.unsplash.com/photo-1476820865390-c52aeebb9891?fit=crop&w=900&h=600&q=80" width="900" height="600" alt="" loading="lazy">
|
|
26
|
+
<p class="uk-margin-small-top">Image</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div>
|
|
29
|
+
<picture>
|
|
30
|
+
<source srcset="https://images.unsplash.com/photo-1487958449943-2429e8be8625?fit=crop&w=580&h=386&q=80 580w,
|
|
31
|
+
https://images.unsplash.com/photo-1487958449943-2429e8be8625?fit=crop&w=900&h=600&q=80 900w"
|
|
32
|
+
media="(min-width: 1200px)">
|
|
33
|
+
<img src="https://images.unsplash.com/photo-1435575653489-b0873ec954e2?fit=crop&w=900&h=600&q=80"
|
|
34
|
+
srcset="https://images.unsplash.com/photo-1435575653489-b0873ec954e2?fit=crop&w=580&h=386&q=80 580w,
|
|
35
|
+
https://images.unsplash.com/photo-1435575653489-b0873ec954e2?fit=crop&w=900&h=600&q=80 900w"
|
|
36
|
+
sizes="(min-width: 960px) 580px, 100vw"
|
|
37
|
+
width="900" height="600" alt="" loading="lazy">
|
|
38
|
+
</picture>
|
|
39
|
+
<p class="uk-margin-small-top">Picture with Srcset</p>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div class="uk-child-width-1-2@s uk-child-width-1-3@m" uk-grid>
|
|
44
|
+
<div>
|
|
45
|
+
<img src="https://images.unsplash.com/photo-1517842536804-bf6629e2c291?fit=crop&w=373&h=249&q=80"
|
|
46
|
+
srcset="https://images.unsplash.com/photo-1517842536804-bf6629e2c291?fit=crop&w=373&h=249&q=80 373w,
|
|
47
|
+
https://images.unsplash.com/photo-1517842536804-bf6629e2c291?fit=crop&w=746&h=498&q=80 746w"
|
|
48
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
49
|
+
width="746" height="498" alt="" loading="lazy">
|
|
50
|
+
</div>
|
|
51
|
+
<div>
|
|
52
|
+
<img src="https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?fit=crop&w=373&h=249&q=80"
|
|
53
|
+
srcset="https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?fit=crop&w=373&h=249&q=80 373w,
|
|
54
|
+
https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?fit=crop&w=746&h=498&q=80 746w"
|
|
55
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
56
|
+
width="746" height="498" alt="" loading="lazy">
|
|
57
|
+
</div>
|
|
58
|
+
<div>
|
|
59
|
+
<img src="https://images.unsplash.com/photo-1645042770830-b698d978c49a?fit=crop&w=373&h=249&q=80"
|
|
60
|
+
srcset="https://images.unsplash.com/photo-1645042770830-b698d978c49a?fit=crop&w=373&h=249&q=80 373w,
|
|
61
|
+
https://images.unsplash.com/photo-1645042770830-b698d978c49a?fit=crop&w=746&h=498&q=80 746w"
|
|
62
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
63
|
+
width="746" height="498" alt="" loading="lazy">
|
|
64
|
+
</div>
|
|
65
|
+
<div>
|
|
66
|
+
<img src="https://images.unsplash.com/photo-1645022576935-fc012945f8e7?fit=crop&w=373&h=249&q=80"
|
|
67
|
+
srcset="https://images.unsplash.com/photo-1645022576935-fc012945f8e7?fit=crop&w=373&h=249&q=80 373w,
|
|
68
|
+
https://images.unsplash.com/photo-1645022576935-fc012945f8e7?fit=crop&w=746&h=498&q=80 746w"
|
|
69
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
70
|
+
width="746" height="498" alt="" loading="lazy">
|
|
71
|
+
</div>
|
|
72
|
+
<div>
|
|
73
|
+
<img src="https://images.unsplash.com/photo-1562315434-3e2de605346e?fit=crop&w=373&h=249&q=80"
|
|
74
|
+
srcset="https://images.unsplash.com/photo-1562315434-3e2de605346e?fit=crop&w=373&h=249&q=80 373w,
|
|
75
|
+
https://images.unsplash.com/photo-1562315434-3e2de605346e?fit=crop&w=746&h=498&q=80 746w"
|
|
76
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
77
|
+
width="746" height="498" alt="" loading="lazy">
|
|
78
|
+
</div>
|
|
79
|
+
<div>
|
|
80
|
+
<img src="https://images.unsplash.com/photo-1644489263914-eef937e00343?fit=crop&w=373&h=249&q=80"
|
|
81
|
+
srcset="https://images.unsplash.com/photo-1644489263914-eef937e00343?fit=crop&w=373&h=249&q=80 373w,
|
|
82
|
+
https://images.unsplash.com/photo-1644489263914-eef937e00343?fit=crop&w=746&h=498&q=80 746w"
|
|
83
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
84
|
+
width="746" height="498" alt="" loading="lazy">
|
|
85
|
+
</div>
|
|
86
|
+
<div>
|
|
87
|
+
<img src="https://images.unsplash.com/photo-1644990978896-c86bd2e5fd2e?fit=crop&w=373&h=249&q=80"
|
|
88
|
+
srcset="https://images.unsplash.com/photo-1644990978896-c86bd2e5fd2e?fit=crop&w=373&h=249&q=80 373w,
|
|
89
|
+
https://images.unsplash.com/photo-1644990978896-c86bd2e5fd2e?fit=crop&w=746&h=498&q=80 746w"
|
|
90
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
91
|
+
width="746" height="498" alt="" loading="lazy">
|
|
92
|
+
</div>
|
|
93
|
+
<div>
|
|
94
|
+
<img src="https://images.unsplash.com/photo-1642628658566-1db49cadf78c?fit=crop&w=373&h=249&q=80"
|
|
95
|
+
srcset="https://images.unsplash.com/photo-1642628658566-1db49cadf78c?fit=crop&w=373&h=249&q=80 373w,
|
|
96
|
+
https://images.unsplash.com/photo-1642628658566-1db49cadf78c?fit=crop&w=746&h=498&q=80 746w"
|
|
97
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
98
|
+
width="746" height="498" alt="" loading="lazy">
|
|
99
|
+
</div>
|
|
100
|
+
<div>
|
|
101
|
+
<img src="https://images.unsplash.com/photo-1508138119323-5452bd81d53d?fit=crop&w=373&h=249&q=80"
|
|
102
|
+
srcset="https://images.unsplash.com/photo-1508138119323-5452bd81d53d?fit=crop&w=373&h=249&q=80 373w,
|
|
103
|
+
https://images.unsplash.com/photo-1508138119323-5452bd81d53d?fit=crop&w=746&h=498&q=80 746w"
|
|
104
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
105
|
+
width="746" height="498" alt="" loading="lazy">
|
|
106
|
+
</div>
|
|
107
|
+
<div>
|
|
108
|
+
<img src="https://images.unsplash.com/photo-1643610493325-89876f661588?fit=crop&w=373&h=249&q=80"
|
|
109
|
+
srcset="https://images.unsplash.com/photo-1643610493325-89876f661588?fit=crop&w=373&h=249&q=80 373w,
|
|
110
|
+
https://images.unsplash.com/photo-1643610493325-89876f661588?fit=crop&w=746&h=498&q=80 746w"
|
|
111
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
112
|
+
width="746" height="498" alt="" loading="lazy">
|
|
113
|
+
</div>
|
|
114
|
+
<div>
|
|
115
|
+
<img src="https://images.unsplash.com/photo-1638518716535-955899d18a19?fit=crop&w=373&h=249&q=80"
|
|
116
|
+
srcset="https://images.unsplash.com/photo-1638518716535-955899d18a19?fit=crop&w=373&h=249&q=80 373w,
|
|
117
|
+
https://images.unsplash.com/photo-1638518716535-955899d18a19?fit=crop&w=746&h=498&q=80 746w"
|
|
118
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
119
|
+
width="746" height="498" alt="" loading="lazy">
|
|
120
|
+
</div>
|
|
121
|
+
<div>
|
|
122
|
+
<img src="https://images.unsplash.com/photo-1566221522142-ebbf26f78096?fit=crop&w=373&h=249&q=80"
|
|
123
|
+
srcset="https://images.unsplash.com/photo-1566221522142-ebbf26f78096?fit=crop&w=373&h=249&q=80 373w,
|
|
124
|
+
https://images.unsplash.com/photo-1566221522142-ebbf26f78096?fit=crop&w=746&h=498&q=80 746w"
|
|
125
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
126
|
+
width="746" height="498" alt="" loading="lazy">
|
|
127
|
+
</div>
|
|
128
|
+
<div>
|
|
129
|
+
<img src="https://images.unsplash.com/photo-1643967894891-cbaa3714584a?fit=crop&w=373&h=249&q=80"
|
|
130
|
+
srcset="https://images.unsplash.com/photo-1643967894891-cbaa3714584a?fit=crop&w=373&h=249&q=80 373w,
|
|
131
|
+
https://images.unsplash.com/photo-1643967894891-cbaa3714584a?fit=crop&w=746&h=498&q=80 746w"
|
|
132
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
133
|
+
width="746" height="498" alt="" loading="lazy">
|
|
134
|
+
</div>
|
|
135
|
+
<div>
|
|
136
|
+
<img src="https://images.unsplash.com/photo-1535191059345-c16453b851b2?fit=crop&w=373&h=249&q=80"
|
|
137
|
+
srcset="https://images.unsplash.com/photo-1535191059345-c16453b851b2?fit=crop&w=373&h=249&q=80 373w,
|
|
138
|
+
https://images.unsplash.com/photo-1535191059345-c16453b851b2?fit=crop&w=746&h=498&q=80 746w"
|
|
139
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
140
|
+
width="746" height="498" alt="" loading="lazy">
|
|
141
|
+
</div>
|
|
142
|
+
<div>
|
|
143
|
+
<img src="https://images.unsplash.com/photo-1629757509637-7c99379d6d26?fit=crop&w=373&h=249&q=80"
|
|
144
|
+
srcset="https://images.unsplash.com/photo-1629757509637-7c99379d6d26?fit=crop&w=373&h=249&q=80 373w,
|
|
145
|
+
https://images.unsplash.com/photo-1629757509637-7c99379d6d26?fit=crop&w=746&h=498&q=80 746w"
|
|
146
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
147
|
+
width="746" height="498" alt="" loading="lazy">
|
|
148
|
+
</div>
|
|
149
|
+
<div>
|
|
150
|
+
<img src="https://images.unsplash.com/photo-1645572608840-8f32e4bcb084?fit=crop&w=373&h=249&q=80"
|
|
151
|
+
srcset="https://images.unsplash.com/photo-1645572608840-8f32e4bcb084?fit=crop&w=373&h=249&q=80 373w,
|
|
152
|
+
https://images.unsplash.com/photo-1645572608840-8f32e4bcb084?fit=crop&w=746&h=498&q=80 746w"
|
|
153
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
154
|
+
width="746" height="498" alt="" loading="lazy">
|
|
155
|
+
</div>
|
|
156
|
+
<div>
|
|
157
|
+
<img src="https://images.unsplash.com/photo-1645403816136-fc4b964a3776?fit=crop&w=373&h=249&q=80"
|
|
158
|
+
srcset="https://images.unsplash.com/photo-1645403816136-fc4b964a3776?fit=crop&w=373&h=249&q=80 373w,
|
|
159
|
+
https://images.unsplash.com/photo-1645403816136-fc4b964a3776?fit=crop&w=746&h=498&q=80 746w"
|
|
160
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
161
|
+
width="746" height="498" alt="" loading="lazy">
|
|
162
|
+
</div>
|
|
163
|
+
<div>
|
|
164
|
+
<img src="https://images.unsplash.com/photo-1645363709954-b63ddfcd30e3?fit=crop&w=373&h=249&q=80"
|
|
165
|
+
srcset="https://images.unsplash.com/photo-1645363709954-b63ddfcd30e3?fit=crop&w=373&h=249&q=80 373w,
|
|
166
|
+
https://images.unsplash.com/photo-1645363709954-b63ddfcd30e3?fit=crop&w=746&h=498&q=80 746w"
|
|
167
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
168
|
+
width="746" height="498" alt="" loading="lazy">
|
|
169
|
+
</div>
|
|
170
|
+
<div>
|
|
171
|
+
<img src="https://images.unsplash.com/photo-1645363441277-b2be67dcdca0?fit=crop&w=373&h=249&q=80"
|
|
172
|
+
srcset="https://images.unsplash.com/photo-1645363441277-b2be67dcdca0?fit=crop&w=373&h=249&q=80 373w,
|
|
173
|
+
https://images.unsplash.com/photo-1645363441277-b2be67dcdca0?fit=crop&w=746&h=498&q=80 746w"
|
|
174
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
175
|
+
width="746" height="498" alt="" loading="lazy">
|
|
176
|
+
</div>
|
|
177
|
+
<div>
|
|
178
|
+
<img src="https://images.unsplash.com/photo-1645352809168-be1d1ef6d31c?fit=crop&w=373&h=249&q=80"
|
|
179
|
+
srcset="https://images.unsplash.com/photo-1645352809168-be1d1ef6d31c?fit=crop&w=373&h=249&q=80 373w,
|
|
180
|
+
https://images.unsplash.com/photo-1645352809168-be1d1ef6d31c?fit=crop&w=746&h=498&q=80 746w"
|
|
181
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
182
|
+
width="746" height="498" alt="" loading="lazy">
|
|
183
|
+
</div>
|
|
184
|
+
<div>
|
|
185
|
+
<img src="https://images.unsplash.com/photo-1643231164357-11790926b995?fit=crop&w=373&h=249&q=80"
|
|
186
|
+
srcset="https://images.unsplash.com/photo-1643231164357-11790926b995?fit=crop&w=373&h=249&q=80 373w,
|
|
187
|
+
https://images.unsplash.com/photo-1643231164357-11790926b995?fit=crop&w=746&h=498&q=80 746w"
|
|
188
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
189
|
+
width="746" height="498" alt="" loading="lazy">
|
|
190
|
+
</div>
|
|
191
|
+
<div>
|
|
192
|
+
<img src="https://images.unsplash.com/photo-1642702550383-3436f1b3d6ca?fit=crop&w=373&h=249&q=80"
|
|
193
|
+
srcset="https://images.unsplash.com/photo-1642702550383-3436f1b3d6ca?fit=crop&w=373&h=249&q=80 373w,
|
|
194
|
+
https://images.unsplash.com/photo-1642702550383-3436f1b3d6ca?fit=crop&w=746&h=498&q=80 746w"
|
|
195
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
196
|
+
width="746" height="498" alt="" loading="lazy">
|
|
197
|
+
</div>
|
|
198
|
+
<div>
|
|
199
|
+
<img src="https://images.unsplash.com/photo-1642773156765-6f5e392dec03?fit=crop&w=373&h=249&q=80"
|
|
200
|
+
srcset="https://images.unsplash.com/photo-1642773156765-6f5e392dec03?fit=crop&w=373&h=249&q=80 373w,
|
|
201
|
+
https://images.unsplash.com/photo-1642773156765-6f5e392dec03?fit=crop&w=746&h=498&q=80 746w"
|
|
202
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
203
|
+
width="746" height="498" alt="" loading="lazy">
|
|
204
|
+
</div>
|
|
205
|
+
<div>
|
|
206
|
+
<img src="https://images.unsplash.com/photo-1645570072967-82ceaea33b81?fit=crop&w=373&h=249&q=80"
|
|
207
|
+
srcset="https://images.unsplash.com/photo-1645570072967-82ceaea33b81?fit=crop&w=373&h=249&q=80 373w,
|
|
208
|
+
https://images.unsplash.com/photo-1645570072967-82ceaea33b81?fit=crop&w=746&h=498&q=80 746w"
|
|
209
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
210
|
+
width="746" height="498" alt="" loading="lazy">
|
|
22
211
|
</div>
|
|
23
212
|
<div>
|
|
24
|
-
<img
|
|
213
|
+
<img src="https://images.unsplash.com/photo-1497636577773-f1231844b336?fit=crop&w=373&h=249&q=80"
|
|
214
|
+
srcset="https://images.unsplash.com/photo-1497636577773-f1231844b336?fit=crop&w=373&h=249&q=80 373w,
|
|
215
|
+
https://images.unsplash.com/photo-1497636577773-f1231844b336?fit=crop&w=746&h=498&q=80 746w"
|
|
216
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
217
|
+
width="746" height="498" alt="" loading="lazy">
|
|
218
|
+
</div>
|
|
219
|
+
<div>
|
|
220
|
+
<img src="https://images.unsplash.com/photo-1517336714731-489689fd1ca8?fit=crop&w=373&h=249&q=80"
|
|
221
|
+
srcset="https://images.unsplash.com/photo-1517336714731-489689fd1ca8?fit=crop&w=373&h=249&q=80 373w,
|
|
222
|
+
https://images.unsplash.com/photo-1517336714731-489689fd1ca8?fit=crop&w=746&h=498&q=80 746w"
|
|
223
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
224
|
+
width="746" height="498" alt="" loading="lazy">
|
|
225
|
+
</div>
|
|
226
|
+
<div>
|
|
227
|
+
<img src="https://images.unsplash.com/photo-1511300636408-a63a89df3482?fit=crop&w=373&h=249&q=80"
|
|
228
|
+
srcset="https://images.unsplash.com/photo-1511300636408-a63a89df3482?fit=crop&w=373&h=249&q=80 373w,
|
|
229
|
+
https://images.unsplash.com/photo-1511300636408-a63a89df3482?fit=crop&w=746&h=498&q=80 746w"
|
|
230
|
+
sizes="(min-width: 1200px) 373px, (min-width: 960px) 33vw, (min-width: 640px) 50vw, 100vw"
|
|
231
|
+
width="746" height="498" alt="" loading="lazy">
|
|
25
232
|
</div>
|
|
26
233
|
</div>
|
|
27
234
|
|
|
235
|
+
<h2>Background Image</h2>
|
|
236
|
+
|
|
28
237
|
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light" data-src="https://images.unsplash.com/photo-1490822180406-880c226c150b?fit=crop&w=1200&h=450&q=80" uk-img>
|
|
29
238
|
<h1>Background Image</h1>
|
|
30
239
|
</div>
|
|
31
240
|
|
|
241
|
+
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle"
|
|
242
|
+
data-src="https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=1200&h=450&q=80"
|
|
243
|
+
data-srcset="https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=800&h=300&q=80 800w,
|
|
244
|
+
https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=1200&h=450&q=80 1200w,
|
|
245
|
+
https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=2400&h=900&q=80 2400w"
|
|
246
|
+
sizes="(min-width: 1200px) 1200px, 100vw" uk-img>
|
|
247
|
+
<h1>Background Image with Srcset</h1>
|
|
248
|
+
</div>
|
|
249
|
+
|
|
250
|
+
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light"
|
|
251
|
+
sources="srcset: https://images.unsplash.com/photo-1487837647815-bbc1f30cd0d2?fit=crop&w=1200&h=450&q=80; media: (min-width: 1200px)"
|
|
252
|
+
data-src="https://images.unsplash.com/photo-1546349851-64285be8e9fa?fit=crop&w=1200&h=450&q=8"
|
|
253
|
+
uk-img>
|
|
254
|
+
<h1>Background Picture</h1>
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light"
|
|
258
|
+
sources="srcset: https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=800&h=300&q=80 800w,
|
|
259
|
+
https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=1200&h=450&q=80 1200w,
|
|
260
|
+
https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=2400&h=900&q=80 2400w; media: (min-width: 1200px)"
|
|
261
|
+
data-src="https://images.unsplash.com/photo-1472803828399-39d4ac53c6e5?fit=crop&w=1200&h=450&q=80"
|
|
262
|
+
data-srcset="https://images.unsplash.com/photo-1472803828399-39d4ac53c6e5?fit=crop&w=800&h=300&q=80 800w,
|
|
263
|
+
https://images.unsplash.com/photo-1472803828399-39d4ac53c6e5?fit=crop&w=1200&h=450&q=80 1200w,
|
|
264
|
+
https://images.unsplash.com/photo-1472803828399-39d4ac53c6e5?fit=crop&w=2400&h=900&q=80 2400w"
|
|
265
|
+
sizes="(min-width: 1200px) 1200px, 100vw" uk-img>
|
|
266
|
+
<h1>Background Picture with Srcset</h1>
|
|
267
|
+
</div>
|
|
268
|
+
|
|
269
|
+
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle"
|
|
270
|
+
sources="[{"srcset": "images/image-type.avif",
|
|
271
|
+
"type": "image\/avif"
|
|
272
|
+
},
|
|
273
|
+
{"srcset": "images/image-type.webp",
|
|
274
|
+
"type": "image\/webp"
|
|
275
|
+
}]"
|
|
276
|
+
data-src="images/image-type.jpg"
|
|
277
|
+
uk-img>
|
|
278
|
+
<h1>Background Picture with Multiple Sources</h1>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
<h2>uk-img with Image element (Deprecated)</h2>
|
|
282
|
+
|
|
283
|
+
<div class="uk-child-width-1-2@m" uk-grid>
|
|
284
|
+
<div>
|
|
285
|
+
<img data-src="https://images.unsplash.com/photo-1522201949034-507737bce479?fit=crop&w=900&h=600&q=80" width="900" height="600" alt="" uk-img>
|
|
286
|
+
<p class="uk-margin-small-top">Image</p>
|
|
287
|
+
</div>
|
|
288
|
+
<div>
|
|
289
|
+
<picture>
|
|
290
|
+
<source data-srcset="https://images.unsplash.com/photo-1447933601403-0c6688de566e?fit=crop&w=580&h=386&q=80 580w,
|
|
291
|
+
https://images.unsplash.com/photo-1447933601403-0c6688de566e?fit=crop&w=900&h=600&q=80 900w"
|
|
292
|
+
media="(min-width: 1200px)">
|
|
293
|
+
<img data-src="https://images.unsplash.com/photo-1503481766315-7a586b20f66d?fit=crop&w=900&h=600&q=80"
|
|
294
|
+
data-srcset="https://images.unsplash.com/photo-1503481766315-7a586b20f66d?fit=crop&w=580&h=386&q=80 580w,
|
|
295
|
+
https://images.unsplash.com/photo-1503481766315-7a586b20f66d?fit=crop&w=900&h=600&q=80 900w"
|
|
296
|
+
sizes="(min-width: 960px) 580px, 100vw"
|
|
297
|
+
width="900" height="600" alt="" uk-img>
|
|
298
|
+
</picture>
|
|
299
|
+
<p class="uk-margin-small-top">Picture with Srcset</p>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
|
|
32
303
|
<div class="uk-child-width-1-2@s uk-child-width-1-3@m" uk-grid>
|
|
33
304
|
<div>
|
|
34
305
|
<img data-src="https://images.unsplash.com/photo-1523359247812-29dde5ac53a0?fit=crop&w=373&h=249&q=80"
|
|
@@ -220,34 +491,7 @@
|
|
|
220
491
|
width="746" height="498" alt="" uk-img>
|
|
221
492
|
</div>
|
|
222
493
|
</div>
|
|
223
|
-
|
|
224
|
-
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle"
|
|
225
|
-
data-src="https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=1200&h=450&q=80"
|
|
226
|
-
data-srcset="https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=800&h=300&q=80 800w,
|
|
227
|
-
https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=1200&h=450&q=80 1200w,
|
|
228
|
-
https://images.unsplash.com/photo-1485627941502-d2e6429a8af0?fit=crop&w=2400&h=900&q=80 2400w"
|
|
229
|
-
sizes="(min-width: 1200px) 1200px, 100vw" uk-img>
|
|
230
|
-
<h1>Background Image</h1>
|
|
231
|
-
</div>
|
|
232
|
-
|
|
233
|
-
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light"
|
|
234
|
-
data-src="https://images.unsplash.com/photo-1487837647815-bbc1f30cd0d2?fit=crop&w=1200&h=450&q=80"
|
|
235
|
-
data-srcset="https://images.unsplash.com/photo-1487837647815-bbc1f30cd0d2?fit=crop&w=800&h=300&q=80 800w,
|
|
236
|
-
https://images.unsplash.com/photo-1487837647815-bbc1f30cd0d2?fit=crop&w=1200&h=450&q=80 1200w,
|
|
237
|
-
https://images.unsplash.com/photo-1487837647815-bbc1f30cd0d2?fit=crop&w=2400&h=900&q=80 2400w"
|
|
238
|
-
sizes="(min-width: 1200px) 1200px, 100vw" uk-img>
|
|
239
|
-
<h1>Background Image</h1>
|
|
240
|
-
</div>
|
|
241
|
-
|
|
242
|
-
<div class="uk-height-large uk-background-cover uk-margin-medium uk-flex uk-flex-center uk-flex-middle uk-light"
|
|
243
|
-
data-src="https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=1200&h=450&q=80"
|
|
244
|
-
data-srcset="https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=800&h=300&q=80 800w,
|
|
245
|
-
https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=1200&h=450&q=80 1200w,
|
|
246
|
-
https://images.unsplash.com/photo-1464621922360-27f3bf0eca75?fit=crop&w=2400&h=900&q=80 2400w"
|
|
247
|
-
sizes="(min-width: 1200px) 1200px, 100vw" uk-img>
|
|
248
|
-
<h1>Background Image</h1>
|
|
249
|
-
</div>
|
|
250
|
-
|
|
494
|
+
|
|
251
495
|
<div class="uk-child-width-1-2@m" uk-grid>
|
|
252
496
|
<div>
|
|
253
497
|
|
|
@@ -255,28 +499,28 @@
|
|
|
255
499
|
|
|
256
500
|
<ul class="uk-slideshow-items">
|
|
257
501
|
<li>
|
|
258
|
-
<img data-src="images/photo.jpg" alt="" uk-cover
|
|
502
|
+
<img data-src="images/photo.jpg" alt="" uk-cover uk-img="target: !.uk-slideshow-items > :last-child, !* +*">
|
|
259
503
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
260
504
|
<h2 uk-slideshow-parallax="x: 100,-100">Heading</h2>
|
|
261
505
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
|
262
506
|
</div>
|
|
263
507
|
</li>
|
|
264
508
|
<li>
|
|
265
|
-
<img data-src="images/dark.jpg" alt="" uk-cover
|
|
509
|
+
<img data-src="images/dark.jpg" alt="" uk-cover uk-img="target: !* -*, !* +*">
|
|
266
510
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
267
511
|
<h2 uk-slideshow-parallax="x: 100,-100">Heading</h2>
|
|
268
512
|
<p uk-slideshow-parallax="x: 200,-200">Lorem ipsum dolor sit amet.</p>
|
|
269
513
|
</div>
|
|
270
514
|
</li>
|
|
271
515
|
<li>
|
|
272
|
-
<img data-src="images/light.jpg" alt="" uk-cover
|
|
516
|
+
<img data-src="images/light.jpg" alt="" uk-cover uk-img="target: !* -*, !* +*">
|
|
273
517
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
274
518
|
<h2 uk-slideshow-parallax="y: -50,0,0; opacity: 1,1,0">Heading</h2>
|
|
275
519
|
<p uk-slideshow-parallax="y: 50,0,0; opacity: 1,1,0">Lorem ipsum dolor sit amet.</p>
|
|
276
520
|
</div>
|
|
277
521
|
</li>
|
|
278
522
|
<li>
|
|
279
|
-
<img data-src="images/photo2.jpg" alt="" uk-cover
|
|
523
|
+
<img data-src="images/photo2.jpg" alt="" uk-cover uk-img="target: !* -*, !.uk-slideshow-items > :first-child">
|
|
280
524
|
<div class="uk-position-center uk-position-small uk-text-center">
|
|
281
525
|
<h2 uk-slideshow-parallax="x: 200,0,0">Heading</h2>
|
|
282
526
|
<p uk-slideshow-parallax="x: 0,0,-200">Lorem ipsum dolor sit amet.</p>
|
|
@@ -296,43 +540,43 @@
|
|
|
296
540
|
|
|
297
541
|
<ul class="uk-slider-items uk-child-width-1-2@s uk-child-width-1-3@m">
|
|
298
542
|
<li>
|
|
299
|
-
<img data-src="images/slider1.jpg"
|
|
543
|
+
<img data-src="images/slider1.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
300
544
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">1</h1></div>
|
|
301
545
|
</li>
|
|
302
546
|
<li>
|
|
303
|
-
<img data-src="images/slider2.jpg"
|
|
547
|
+
<img data-src="images/slider2.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
304
548
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">2</h1></div>
|
|
305
549
|
</li>
|
|
306
550
|
<li>
|
|
307
|
-
<img data-src="images/slider3.jpg"
|
|
551
|
+
<img data-src="images/slider3.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
308
552
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">3</h1></div>
|
|
309
553
|
</li>
|
|
310
554
|
<li>
|
|
311
|
-
<img data-src="images/slider4.jpg"
|
|
555
|
+
<img data-src="images/slider4.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
312
556
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">4</h1></div>
|
|
313
557
|
</li>
|
|
314
558
|
<li>
|
|
315
|
-
<img data-src="images/slider5.jpg"
|
|
559
|
+
<img data-src="images/slider5.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
316
560
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">5</h1></div>
|
|
317
561
|
</li>
|
|
318
562
|
<li>
|
|
319
|
-
<img data-src="images/slider1.jpg"
|
|
563
|
+
<img data-src="images/slider1.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
320
564
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">6</h1></div>
|
|
321
565
|
</li>
|
|
322
566
|
<li>
|
|
323
|
-
<img data-src="images/slider2.jpg"
|
|
567
|
+
<img data-src="images/slider2.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
324
568
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">7</h1></div>
|
|
325
569
|
</li>
|
|
326
570
|
<li>
|
|
327
|
-
<img data-src="images/slider3.jpg"
|
|
571
|
+
<img data-src="images/slider3.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
328
572
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">8</h1></div>
|
|
329
573
|
</li>
|
|
330
574
|
<li>
|
|
331
|
-
<img data-src="images/slider4.jpg"
|
|
575
|
+
<img data-src="images/slider4.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
332
576
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">9</h1></div>
|
|
333
577
|
</li>
|
|
334
578
|
<li>
|
|
335
|
-
<img data-src="images/slider5.jpg"
|
|
579
|
+
<img data-src="images/slider5.jpg" width="400" height="600" alt="" uk-img="target: !.uk-slider-items">
|
|
336
580
|
<div class="uk-position-center uk-panel"><h1 class="uk-transition-slide-bottom-small">10</h1></div>
|
|
337
581
|
</li>
|
|
338
582
|
</ul>
|
|
@@ -365,28 +609,16 @@
|
|
|
365
609
|
<td>The image's `src` attribute.</td>
|
|
366
610
|
</tr>
|
|
367
611
|
<tr>
|
|
368
|
-
<td><code>
|
|
369
|
-
<td>String</td>
|
|
370
|
-
<td>false</td>
|
|
371
|
-
<td>The image's `srcset` attribute.</td>
|
|
372
|
-
</tr>
|
|
373
|
-
<tr>
|
|
374
|
-
<td><code>sizes</code></td>
|
|
375
|
-
<td>String</td>
|
|
376
|
-
<td>false</td>
|
|
377
|
-
<td>The image's `sizes` attribute.</td>
|
|
378
|
-
</tr>
|
|
379
|
-
<tr>
|
|
380
|
-
<td><code>width</code></td>
|
|
612
|
+
<td><code>sources</code></td>
|
|
381
613
|
<td>String</td>
|
|
382
|
-
<td>
|
|
383
|
-
<td>The image's
|
|
614
|
+
<td>''</td>
|
|
615
|
+
<td>The image's sources. This option is used for background images only. The sources attributes be passed in `key: value;` format for a single source. For multiple sources in JSON format.</td>
|
|
384
616
|
</tr>
|
|
385
617
|
<tr>
|
|
386
|
-
<td><code>
|
|
387
|
-
<td
|
|
388
|
-
<td
|
|
389
|
-
<td>
|
|
618
|
+
<td><code>loading</code></td>
|
|
619
|
+
<td>`lazy`|`eager`</td>
|
|
620
|
+
<td>`lazy`</td>
|
|
621
|
+
<td>Enable lazy/eager loading. Set to `eager` for images within the first visible viewport.</td>
|
|
390
622
|
</tr>
|
|
391
623
|
<tr>
|
|
392
624
|
<td><code>offsetTop</code></td>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/tests/index.html
CHANGED
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
<header class="uk-comment-header uk-position-relative">
|
|
196
196
|
<div class="uk-grid-medium uk-flex-middle" uk-grid>
|
|
197
197
|
<div class="uk-width-auto">
|
|
198
|
-
<img class="uk-comment-avatar" src="images/avatar.jpg" width="50" alt="">
|
|
198
|
+
<img class="uk-comment-avatar" src="images/avatar.jpg" width="50" height="50" alt="">
|
|
199
199
|
</div>
|
|
200
200
|
<div class="uk-width-expand">
|
|
201
201
|
<h4 class="uk-comment-title uk-margin-remove"><a class="uk-link-reset" href="#">Author</a></h4>
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
<div>
|
|
471
471
|
|
|
472
472
|
<div class="uk-inline">
|
|
473
|
-
<img src="images/light.jpg" alt="">
|
|
473
|
+
<img src="images/light.jpg" width="1800" height="1200" alt="">
|
|
474
474
|
<a class="uk-position-absolute uk-transform-center" style="left: 20%; top: 30%" href="#" uk-marker></a>
|
|
475
475
|
<a class="uk-position-absolute uk-transform-center" style="left: 60%; top: 40%" href="#" uk-marker></a>
|
|
476
476
|
<a class="uk-position-absolute uk-transform-center" style="left: 80%; top: 70%" href="#" uk-marker></a>
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
<div>
|
|
481
481
|
|
|
482
482
|
<div class="uk-inline-clip">
|
|
483
|
-
<img src="images/photo.jpg" alt="">
|
|
483
|
+
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
484
484
|
<div class="uk-overlay uk-overlay-default uk-position-bottom">
|
|
485
485
|
<p>Default Lorem ipsum dolor sit amet, consectetur.</p>
|
|
486
486
|
</div>
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
<div>
|
|
491
491
|
|
|
492
492
|
<div class="uk-inline-clip">
|
|
493
|
-
<img src="images/photo.jpg" alt="">
|
|
493
|
+
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
494
494
|
<div class="uk-overlay uk-overlay-primary uk-position-bottom">
|
|
495
495
|
<p>Primary Lorem ipsum dolor sit amet, consectetur.</p>
|
|
496
496
|
</div>
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
<div>
|
|
501
501
|
|
|
502
502
|
<div class="uk-inline uk-light">
|
|
503
|
-
<img src="images/photo.jpg" alt="">
|
|
503
|
+
<img src="images/photo.jpg" width="1800" height="1200" alt="">
|
|
504
504
|
<div class="uk-position-center">
|
|
505
505
|
<span uk-overlay-icon></span>
|
|
506
506
|
</div>
|
|
@@ -533,9 +533,9 @@
|
|
|
533
533
|
<div>
|
|
534
534
|
|
|
535
535
|
<ul class="uk-thumbnav">
|
|
536
|
-
<li class="uk-active"><a href="#"><img src="images/photo.jpg" width="60" alt=""></a></li>
|
|
537
|
-
<li><a href="#"><img src="images/dark.jpg" width="60" alt=""></a></li>
|
|
538
|
-
<li><a href="#"><img src="images/light.jpg" width="60" alt=""></a></li>
|
|
536
|
+
<li class="uk-active"><a href="#"><img src="images/photo.jpg" width="60" height="40" alt=""></a></li>
|
|
537
|
+
<li><a href="#"><img src="images/dark.jpg" width="60" height="40" alt=""></a></li>
|
|
538
|
+
<li><a href="#"><img src="images/light.jpg" width="60" height="40" alt=""></a></li>
|
|
539
539
|
</ul>
|
|
540
540
|
|
|
541
541
|
</div>
|