Animation Loader by vinodjangid07
Zoom
Saved
1 line⌘Z Undo
1<!--2 Author: vinodjangid073 Source: https://uiverse.io/vinodjangid07/popular-owl-274 License: MIT5 Tags: #animation #delivery #loader #loading #loading-animaton #motion #truck #uiverse6-->7<div class="loader">8 <div class="truckWrapper">9 <div class="truckBody">10 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 198 93" class="trucksvg">11 <path stroke-width="3" stroke="#282828" fill="#F83D3D" d="M135 22.5H177.264C178.295 22.5 179.22 23.133 179.594 24.0939L192.33 56.8443C192.442 57.1332 192.5 57.4404 192.5 57.7504V89C192.5 90.3807 191.381 91.5 190 91.5H135C133.619 91.5 132.5 90.3807 132.5 89V25C132.5 23.6193 133.619 22.5 135 22.5Z">12 </path>13 <path stroke-width="3" stroke="#282828" fill="#7D7C7C" d="M146 33.5H181.741C182.779 33.5 183.709 34.1415 184.078 35.112L190.538 52.112C191.16 53.748 189.951 55.5 188.201 55.5H146C144.619 55.5 143.5 54.3807 143.5 53V36C143.5 34.6193 144.619 33.5 146 33.5Z">14 </path>15 <path stroke-width="2" stroke="#282828" fill="#282828" d="M150 65C150 65.39 149.763 65.8656 149.127 66.2893C148.499 66.7083 147.573 67 146.5 67C145.427 67 144.501 66.7083 143.873 66.2893C143.237 65.8656 143 65.39 143 65C143 64.61 143.237 64.1344 143.873 63.7107C144.501 63.2917 145.427 63 146.5 63C147.573 63 148.499 63.2917 149.127 63.7107C149.763 64.1344 150 64.61 150 65Z">16 </path>17 <rect stroke-width="2" stroke="#282828" fill="#FFFCAB" rx="1" height="7" width="5" y="63" x="187">18 </rect>19 <rect stroke-width="2" stroke="#282828" fill="#282828" rx="1" height="11" width="4" y="81" x="193">20 </rect>21 <rect stroke-width="3" stroke="#282828" fill="#DFDFDF" rx="2.5" height="90" width="121" y="1.5" x="6.5">22 </rect>23 <rect stroke-width="2" stroke="#282828" fill="#DFDFDF" rx="2" height="4" width="6" y="84" x="1">24 </rect>25 </svg>26 </div>27 <div class="truckTires">28 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 30 30" class="tiresvg">29 <circle stroke-width="3" stroke="#282828" fill="#282828" r="13.5" cy="15" cx="15">30 </circle>31 <circle fill="#DFDFDF" r="7" cy="15" cx="15">32 </circle>33 </svg>34 <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 30 30" class="tiresvg">35 <circle stroke-width="3" stroke="#282828" fill="#282828" r="13.5" cy="15" cx="15">36 </circle>37 <circle fill="#DFDFDF" r="7" cy="15" cx="15">38 </circle>39 </svg>40 </div>41 <div class="road">42 </div>43 <svg xml:space="preserve" viewBox="0 0 453.459 453.459" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Capa_1" version="1.1" fill="#000000" class="lampPost">44 <path d="M252.882,0c-37.781,0-68.686,29.953-70.245,67.358h-6.917v8.954c-26.109,2.163-45.463,10.011-45.463,19.366h9.993 c-1.65,5.146-2.507,10.54-2.507,16.017c0,28.956,23.558,52.514,52.514,52.514c28.956,0,52.514-23.558,52.514-52.514 c0-5.478-0.856-10.872-2.506-16.017h9.992c0-9.354-19.352-17.204-45.463-19.366v-8.954h-6.149C200.189,38.779,223.924,16,252.882,16 c29.952,0,54.32,24.368,54.32,54.32c0,28.774-11.078,37.009-25.105,47.437c-17.444,12.968-37.216,27.667-37.216,78.884v113.914 h-0.797c-5.068,0-9.174,4.108-9.174,9.177c0,2.844,1.293,5.383,3.321,7.066c-3.432,27.933-26.851,95.744-8.226,115.459v11.202h45.75 v-11.202c18.625-19.715-4.794-87.527-8.227-115.459c2.029-1.683,3.322-4.223,3.322-7.066c0-5.068-4.107-9.177-9.176-9.177h-0.795 V196.641c0-43.174,14.942-54.283,30.762-66.043c14.793-10.997,31.559-23.461,31.559-60.277C323.202,31.545,291.656,0,252.882,0z M232.77,111.694c0,23.442-19.071,42.514-42.514,42.514c-23.442,0-42.514-19.072-42.514-42.514c0-5.531,1.078-10.957,3.141-16.017 h78.747C231.693,100.736,232.77,106.162,232.77,111.694z">45 </path>46 </svg>47 </div>48</div>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
Author: vinodjangid07
Source: https://uiverse.io/vinodjangid07/popular-owl-27
License: MIT
Tags: #animation #delivery #loader #loading #loading-animaton #motion #truck #uiverse
-->
<div class="loader">
<div class="truckWrapper">
<div class="truckBody">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 198 93" class="trucksvg">
<path stroke-width="3" stroke="#282828" fill="#F83D3D" d="M135 22.5H177.264C178.295 22.5 179.22 23.133 179.594 24.0939L192.33 56.8443C192.442 57.1332 192.5 57.4404 192.5 57.7504V89C192.5 90.3807 191.381 91.5 190 91.5H135C133.619 91.5 132.5 90.3807 132.5 89V25C132.5 23.6193 133.619 22.5 135 22.5Z">
</path>
<path stroke-width="3" stroke="#282828" fill="#7D7C7C" d="M146 33.5H181.741C182.779 33.5 183.709 34.1415 184.078 35.112L190.538 52.112C191.16 53.748 189.951 55.5 188.201 55.5H146C144.619 55.5 143.5 54.3807 143.5 53V36C143.5 34.6193 144.619 33.5 146 33.5Z">
</path>
<path stroke-width="2" stroke="#282828" fill="#282828" d="M150 65C150 65.39 149.763 65.8656 149.127 66.2893C148.499 66.7083 147.573 67 146.5 67C145.427 67 144.501 66.7083 143.873 66.2893C143.237 65.8656 143 65.39 143 65C143 64.61 143.237 64.1344 143.873 63.7107C144.501 63.2917 145.427 63 146.5 63C147.573 63 148.499 63.2917 149.127 63.7107C149.763 64.1344 150 64.61 150 65Z">
</path>
<rect stroke-width="2" stroke="#282828" fill="#FFFCAB" rx="1" height="7" width="5" y="63" x="187">
</rect>
<rect stroke-width="2" stroke="#282828" fill="#282828" rx="1" height="11" width="4" y="81" x="193">
</rect>
<rect stroke-width="3" stroke="#282828" fill="#DFDFDF" rx="2.5" height="90" width="121" y="1.5" x="6.5">
</rect>
<rect stroke-width="2" stroke="#282828" fill="#DFDFDF" rx="2" height="4" width="6" y="84" x="1">
</rect>
</svg>
</div>
<div class="truckTires">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 30 30" class="tiresvg">
<circle stroke-width="3" stroke="#282828" fill="#282828" r="13.5" cy="15" cx="15">
</circle>
<circle fill="#DFDFDF" r="7" cy="15" cx="15">
</circle>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 30 30" class="tiresvg">
<circle stroke-width="3" stroke="#282828" fill="#282828" r="13.5" cy="15" cx="15">
</circle>
<circle fill="#DFDFDF" r="7" cy="15" cx="15">
</circle>
</svg>
</div>
<div class="road">
</div>
<svg xml:space="preserve" viewBox="0 0 453.459 453.459" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Capa_1" version="1.1" fill="#000000" class="lampPost">
<path d="M252.882,0c-37.781,0-68.686,29.953-70.245,67.358h-6.917v8.954c-26.109,2.163-45.463,10.011-45.463,19.366h9.993 c-1.65,5.146-2.507,10.54-2.507,16.017c0,28.956,23.558,52.514,52.514,52.514c28.956,0,52.514-23.558,52.514-52.514 c0-5.478-0.856-10.872-2.506-16.017h9.992c0-9.354-19.352-17.204-45.463-19.366v-8.954h-6.149C200.189,38.779,223.924,16,252.882,16 c29.952,0,54.32,24.368,54.32,54.32c0,28.774-11.078,37.009-25.105,47.437c-17.444,12.968-37.216,27.667-37.216,78.884v113.914 h-0.797c-5.068,0-9.174,4.108-9.174,9.177c0,2.844,1.293,5.383,3.321,7.066c-3.432,27.933-26.851,95.744-8.226,115.459v11.202h45.75 v-11.202c18.625-19.715-4.794-87.527-8.227-115.459c2.029-1.683,3.322-4.223,3.322-7.066c0-5.068-4.107-9.177-9.176-9.177h-0.795 V196.641c0-43.174,14.942-54.283,30.762-66.043c14.793-10.997,31.559-23.461,31.559-60.277C323.202,31.545,291.656,0,252.882,0z M232.77,111.694c0,23.442-19.071,42.514-42.514,42.514c-23.442,0-42.514-19.072-42.514-42.514c0-5.531,1.078-10.957,3.141-16.017 h78.747C231.693,100.736,232.77,106.162,232.77,111.694z">
</path>
</svg>
</div>
</div>1/* * Author: vinodjangid07 * Source: https://uiverse.io/vinodjangid07/popular-owl-27 * License: MIT * Tags: #animation #delivery #loader #loading #loading-animaton #motion #truck #uiverse */2/* * From Uiverse.io by vinodjangid07 - https://uiverse.io/vinodjangid07/popular-owl-27 * MIT License - Copyright (c) 2023 Uiverse.io and its contributors * https://github.com/uiverse-io/galaxy/blob/main/LICENSE */3.loader {4 width: fit-content;5 height: fit-content;6 display: flex;7 align-items: center;8 justify-content: center;9}10.truckWrapper {11 width: 200px;12 height: 100px;13 display: flex;14 flex-direction: column;15 position: relative;16 align-items: center;17 justify-content: flex-end;18 overflow-x: hidden;19}20/* truck upper body */21.truckBody {22 width: 130px;23 height: fit-content;24 margin-bottom: 6px;25 animation: motion 1s linear infinite;26}27/* truck suspension animation*/28@keyframes motion {29 0% {30 transform: translateY(0px);31 }32 50% {33 transform: translateY(3px);34 }35 100% {36 transform: translateY(0px);37 }38}39/* truck's tires */40.truckTires {41 width: 130px;42 height: fit-content;43 display: flex;44 align-items: center;45 justify-content: space-between;46 padding: 0px 10px 0px 15px;47 position: absolute;48 bottom: 0;49}50.truckTires svg {51 width: 24px;52}53.road {54 width: 100%;55 height: 1.5px;56 background-color: #282828;57 position: relative;58 bottom: 0;59 align-self: flex-end;60 border-radius: 3px;61}62.road::before {63 content: "";64 position: absolute;65 width: 20px;66 height: 100%;67 background-color: #282828;68 right: -50%;69 border-radius: 3px;70 animation: roadAnimation 1.4s linear infinite;71 border-left: 10px solid white;72}73.road::after {74 content: "";75 position: absolute;76 width: 10px;77 height: 100%;78 background-color: #282828;79 right: -65%;80 border-radius: 3px;81 animation: roadAnimation 1.4s linear infinite;82 border-left: 4px solid white;83}84.lampPost {85 position: absolute;86 bottom: 0;87 right: -90%;88 height: 90px;89 animation: roadAnimation 1.4s linear infinite;90}91@keyframes roadAnimation {92 0% {93 transform: translateX(0px);94 }95 100% {96 transform: translateX(-350px);97 }98}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/* * Author: vinodjangid07 * Source: https://uiverse.io/vinodjangid07/popular-owl-27 * License: MIT * Tags: #animation #delivery #loader #loading #loading-animaton #motion #truck #uiverse */
/* * From Uiverse.io by vinodjangid07 - https://uiverse.io/vinodjangid07/popular-owl-27 * MIT License - Copyright (c) 2023 Uiverse.io and its contributors * https://github.com/uiverse-io/galaxy/blob/main/LICENSE */
.loader {
width: fit-content;
height: fit-content;
display: flex;
align-items: center;
justify-content: center;
}
.truckWrapper {
width: 200px;
height: 100px;
display: flex;
flex-direction: column;
position: relative;
align-items: center;
justify-content: flex-end;
overflow-x: hidden;
}
/* truck upper body */
.truckBody {
width: 130px;
height: fit-content;
margin-bottom: 6px;
animation: motion 1s linear infinite;
}
/* truck suspension animation*/
@keyframes motion {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(3px);
}
100% {
transform: translateY(0px);
}
}
/* truck's tires */
.truckTires {
width: 130px;
height: fit-content;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0px 10px 0px 15px;
position: absolute;
bottom: 0;
}
.truckTires svg {
width: 24px;
}
.road {
width: 100%;
height: 1.5px;
background-color: #282828;
position: relative;
bottom: 0;
align-self: flex-end;
border-radius: 3px;
}
.road::before {
content: "";
position: absolute;
width: 20px;
height: 100%;
background-color: #282828;
right: -50%;
border-radius: 3px;
animation: roadAnimation 1.4s linear infinite;
border-left: 10px solid white;
}
.road::after {
content: "";
position: absolute;
width: 10px;
height: 100%;
background-color: #282828;
right: -65%;
border-radius: 3px;
animation: roadAnimation 1.4s linear infinite;
border-left: 4px solid white;
}
.lampPost {
position: absolute;
bottom: 0;
right: -90%;
height: 90px;
animation: roadAnimation 1.4s linear infinite;
}
@keyframes roadAnimation {
0% {
transform: translateX(0px);
}
100% {
transform: translateX(-350px);
}
}Changes made here are only a live preview and will not be saved.
Save to GitHub
GitHub opens a new file in your repository with this element filled in. Review it there and press Commit changes. Nothing is sent from codepeek and no GitHub access is needed.
◉ 0 views
Build it with AIA ready prompt with the code, the credit and how to adapt it to your project.
Animation loader created by vinodjangid07 on Uiverse.io. Open source under the MIT license.
Community
You need to sign in before you can write a comment.