<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"
.loader { width: fit-content; height: fit-content; display: flex; align-items: center; justify-content: center; } .truckWrapper { width: 200px; height: 100px; display: flex;