Revisions
-
yukulele revised this gist
Jan 11, 2014 . 1 changed file with 0 additions and 2 deletions.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 @@ -37,8 +37,6 @@ width: .5em; height: 1.5em; border-radius: .2em; transform-origin: 50% 2.5em; /* container height / 2 */ } -
yukulele revised this gist
Jan 11, 2014 . No changes.There are no files selected for viewing
-
yukulele revised this gist
Jan 11, 2014 . 1 changed file with 9 additions and 4 deletions.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 @@ -43,20 +43,25 @@ } .progress:before { background: #000; /* 8 */ box-shadow: 0 3.5em #888; /* 4 */ } .progress:after { transform: rotate(-45deg); background: #222; /* 7 */ box-shadow: 0 3.5em #aaa; /* 3 */ } .progress > div:before { transform: rotate(-90deg); background: #444; /* 6 */ box-shadow: 0 3.5em #ccc; /* 2 */ } .progress > div:after { transform: rotate(-135deg); background: #666; /* 5 */ box-shadow: 0 3.5em #eee; /* 1 */ } -
LeaVerou revised this gist
Nov 29, 2013 . No changes.There are no files selected for viewing
-
LeaVerou revised this gist
Nov 29, 2013 . 2 changed files with 28 additions and 13 deletions.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 @@ -8,10 +8,22 @@ .progress { position: relative; display: inline-block; width: 5em; height: 5em; margin: 0 .5em; font-size: 12px; text-indent: 999em; overflow: hidden; animation: spin 1s infinite steps(8); } .small.progress { font-size: 6px; } .large.progress { font-size: 24px; } .progress:before, @@ -20,13 +32,14 @@ .progress > div:after { content: ''; position: absolute; top: 0; left: 2.25em; /* (container width - part width)/2 */ width: .5em; height: 1.5em; border-radius: .2em; background: #eee; box-shadow: 0 3.5em #eee; /* container height - part height */ transform-origin: 50% 2.5em; /* container height / 2 */ } .progress:before { 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 @@ -1,3 +1,5 @@ <div class="small progress"><div>Loading…</div></div> <div class="progress"><div>Loading…</div></div> <div class="large progress"><div>Loading…</div></div> -
LeaVerou revised this gist
Nov 29, 2013 . 1 changed file with 0 additions and 1 deletion.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 @@ -1,6 +1,5 @@ /** * (C)Leanest CSS spinner ever */ @keyframes spin { -
LeaVerou revised this gist
Nov 29, 2013 . 1 changed file with 5 additions and 9 deletions.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 @@ -4,9 +4,7 @@ */ @keyframes spin { to { transform: rotate(1turn); } } .progress { @@ -33,22 +31,20 @@ } .progress:before { background: #555; } .progress:after { transform: rotate(-45deg); background: #777; } .progress > div:before { transform: rotate(-90deg); background: #999; } .progress > div:after { transform: rotate(-135deg); background: #bbb; } -
LeaVerou revised this gist
Nov 29, 2013 . 1 changed file with 13 additions and 9 deletions.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 @@ -5,8 +5,7 @@ @keyframes spin { to { transform: rotate(360deg); } } @@ -15,6 +14,7 @@ width: 10em; height: 10em; font-size: 10px; animation: spin 2s infinite steps(8); } .progress:before, @@ -27,24 +27,28 @@ width: 1em; height: 3em; border-radius: .4em; background: #eee; box-shadow: 0 7em #eee; /* container height - part height */ transform-origin: 50% 5em; /* container height / 2 */ } .progress:before { box-shadow: 0 7em #ccc; } .progress:after { transform: rotate(-45deg); background: #666; } .progress > div:before { transform: rotate(-90deg); animation-delay: 200s; background: #888; } .progress > div:after { transform: rotate(-135deg); animation-delay: 300s; background: #aaa; } -
LeaVerou revised this gist
Nov 23, 2013 . 2 changed files with 17 additions and 8 deletions.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 @@ -1,9 +1,13 @@ /** * (C)Leanest CSS spinner ever * IN PROGRESS */ @keyframes spin { to { background: grey; box-shadow: 0 7em white; } } .progress { @@ -23,19 +27,24 @@ width: 1em; height: 3em; border-radius: .4em; background: black; box-shadow: 0 7em grey; /* container height - part height */ transform-origin: 50% 5em; /* container height / 2 */ animation: spin 2s infinite steps(8); } .progress:after { transform: rotate(-45deg); animation-delay: .5s; } .progress > div:before { transform: rotate(-90deg); animation-delay: 1s; } .progress > div:after { transform: rotate(-135deg); animation-delay: 1.5s; } 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 @@ -1 +1 @@ {"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} -
LeaVerou created this gist
Nov 23, 2013 .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,41 @@ /** * (C)Leanest CSS spinner ever */ @keyframes { to { background: grey } } .progress { position: relative; width: 10em; height: 10em; font-size: 10px; } .progress:before, .progress:after, .progress > div:before, .progress > div:after { content: ''; position: absolute; left: 4.5em; /* (container width - part width)/2 */ width: 1em; height: 3em; border-radius: .4em; background: blue; box-shadow: 0 7em red; /* container height - part height */ transform-origin: 50% 5em; /* container height / 2 */ } .progress:after { transform: rotate(45deg); } .progress > div:before { transform: rotate(90deg); } .progress > div:after { transform: rotate(135deg); } 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,3 @@ <div class="progress"> <div></div> </div> 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 @@ // alert('Hello world!'); 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 @@ {"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}