<div class="main-container"> <div class="loader"> <svg viewBox="0 0 800 500" xmlns="http://www.w3.org/2000/svg"> <defs> <linearGradient id="chipGradient" x1="0" y1="0" x2="0" y2="1"> <stop offset="0%" stop-color="#2d2d2d"></stop> <stop offset="100%" stop-color="#0f0f0f"></stop> </linearGradient> <linearGradient id="textGradient" x1="0" y1="0" x2="0" y2="1"> <stop offset="0%" stop-color="#eeeeee"></stop> <stop offset="100%" stop-color="#888888"></stop>
.main-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; } .loader { width: 100%; }