Revisions
-
alexeyten revised this gist
Mar 30, 2012 . 3 changed files with 27 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,17 +1,36 @@ /** * Candy */ html { background-color: silver; background-image: linear-gradient(45deg, gray 25%, transparent 25%, transparent 75%, gray 75%, gray), linear-gradient(45deg, gray 26%, transparent 26%, transparent 75%, gray 75%, gray); background-size:20px 20px; background-position:0 0, 10px 10px; min-height: 100%; } div { min-height: 100%; width: 400px; height: 16px; margin: 10em 0 0 20em; background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.25) 8px, rgba(255,255,255,0) 8px), repeating-linear-gradient(-45deg, rgba(62,94,207,0.7), rgba(62,94,207,0.7) 10px, rgba(0,0,0,0) 10px, rgba(0,0,0,0) 20px, rgba(62,94,207,0.7) 20px), linear-gradient(rgba(96,148,240,0.5),rgba(178,215,251,0.5)); background-size: 28px 28px; transition: background-position 1000s 9999s linear; background-position: 0 0, 0 0, 0 0; background-repeat: repeat-x, repeat, repeat; background-clip: padding-box; border-radius: 100px; border: 1px solid rgba(0,0,0,.2); } div:hover { background-position: 0 0, 0 50000px, 0 0; transition: background-position 1000s 0s linear; } 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,3 @@ <!-- content to be placed inside <body>…</body> --> <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 @@ -1 +1 @@ {"view":"separate","seethrough":"1","prefixfree":"1","page":"css"} -
alexeyten revised this gist
Mar 30, 2012 . 3 changed files with 11 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 @@ -2,13 +2,16 @@ * The first commented line is your dabblet’s title */ div { min-height: 100%; background: silver; background-image: repeating-linear-gradient(-45deg, silver, silver 25px, gray 26px, gray 50px, silver 51px); width: 400px; height: 400px; transition: background 1s linear; } div:hover { background-image: repeating-linear-gradient(45deg, silver, silver 25px, gray 26px, gray 50px, silver 51px); } 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,3 @@ <!-- content to be placed inside <body>…</body> --> <div>x</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 @@ -1 +1 @@ {"view":"separate","seethrough":"1","prefixfree":"1","page":"result"} -
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,14 @@ /** * The first commented line is your dabblet’s title */ div { background: silver; background-image: linear-gradient(45deg, silver 25%, gray 25%, gray 50%, silver 50%, silver 75%, gray 75%); background-size: 120px 120px; background-repeat: no-repeat; } div { margin: 5em; height: 20em; } 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 @@ <!-- content to be placed inside <body>…</body> --> <div>asd</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 @@ {"view":"separate","seethrough":"1","prefixfree":"1","page":"css"}