Card by yariklnv
#212121
1@keyframes rotate { 2 from { 3 transform: rotateZ(0deg); 4 } 5 6 to { 7 transform: rotateZ(360deg); 8 } 9} 10 11.border { 12 background-image: linear-gradient(to left, red, blue); 13 width: 100px; 14 height: 100px; 15 border-radius: 20px; 16} 17 18.border::before { 19 background-image: linear-gradient(to left, red, blue); 20 content: ""; 21 position: absolute; 22 z-index: -1; 23 height: 100px; 24 width: 100px; 25 scale: 1.1; 26 filter: blur(25px); 27 animation: rotate 4s linear infinite; 28 border-radius: 100px; 29} 30 31.content { 32 background-color: #111; 33 width: 100px; 34 height: 100px; 35 border-radius: 19px; 36 scale: 0.9; 37}
1.1K views
1.1K views
MIT License