<div class="main-container"> <div class="loader"> <svg viewBox="0 0 900 900" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" > <defs> <linearGradient id="traceGradient1" x1="250" y1="120"
.main-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; overflow: hidden; } .loader { width: 100%; height: 100%;