Created
March 13, 2022 07:33
-
-
Save turbotobias/2d50475701eb9ab0ae70acaff361e581 to your computer and use it in GitHub Desktop.
Revisions
-
turbotobias created this gist
Mar 13, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ @keyframes border-dance { 0% { background-position: left top, right bottom, left bottom, right top; } 100% { background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px; } } .border-dance { background-image: linear-gradient(90deg, rgb(222, 46, 0) 50%, transparent 50%), linear-gradient(90deg, rgb(222, 46, 0) 50%, transparent 50%), linear-gradient(0deg, rgb(222, 46, 0) 50%, transparent 50%), linear-gradient(0deg, rgb(222, 46, 0) 50%, transparent 50%); background-repeat: repeat-x, repeat-x, repeat-y, repeat-y; background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px; background-position: left top, right bottom, left bottom, right top; animation: border-dance 1s infinite linear; padding: 8px; border-radius: 2px; }