<svg style="position: absolute; width: 0; height: 0;"> <filter id="unopaq" y="-100%" height="300%" x="-100%" width="300%"> <feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 5 0" ></feColorMatrix> </filter> <filter id="unopaq2" y="-100%" height="300%" x="-100%" width="300%"> <feColorMatrix values="1 0 0 0 0
.card-container { position: relative; width: 400px; height: 300px; border-radius: 1em; margin: 0 2em; } .card-border { position: absolute; inset: 0; background: #0005;