Good day dear. Faced with a lack of understanding, where do indents between SVG elements come from and how will you get rid of them?
*{ margin: 0; padding: 0; } .row{ width: 100px; height: 1000px; background: linear-gradient(to top, red, blue); } svg, rect, mask, circle{ margin: 0; padding: 0; } <div class="row"> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> <svg viewBox="0 0 100 100"> <mask id="circles" maskUnits="objectBoundingBox"> <rect x="0" y="0" width="100%" height="100%" fill="white"></rect> <circle cx="50%" cy="50%" r="45%" fill="black"></circle> </mask> <rect x="0" y="0" width="100%" height="100%" fill="#000" style="mask: url(#circles)"></rect> </svg> </div> Tell me please, who knows?