Last active
September 19, 2021 15:55
-
-
Save csssecrets/bc32dc20adea2261c731 to your computer and use it in GitHub Desktop.
Revisions
-
csssecrets revised this gist
Feb 1, 2015 . 1 changed file with 1 addition 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 @@ -22,5 +22,5 @@ div::before { transform: translateY(-1.3em) rotate(-30deg); transform-origin: bottom right; border-bottom-left-radius: .5em; box-shadow: -.2em .2em .3em -.1em rgba(0,0,0,.15) } -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 1 addition 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 @@ -22,5 +22,5 @@ div::before { transform: translateY(-1.3em) rotate(-30deg); transform-origin: bottom right; border-bottom-left-radius: .5em; box-shadow: -.1em .1em .3em rgba(0,0,0,.15) } -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 1 addition 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,5 +1,5 @@ /** * Folded corner effect — at an angle */ div { -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 3 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 @@ -18,8 +18,9 @@ div::before { position: absolute; top: 0; right: 0; width: 1.73em; height: 3em; background: linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.2) 0, rgba(0,0,0,.4)) 100% 0 no-repeat; transform: translateY(-1.3em) rotate(-30deg); transform-origin: bottom right; border-bottom-left-radius: .5em; box-shadow: -.1em .1em .3em rgba(0,0,0,.1) } -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 1 addition and 3 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 @@ -6,9 +6,7 @@ div { position: relative; width: 12em; background: #58a; /* Fallback */ background: linear-gradient(-150deg, transparent 1.5em, #58a 0); padding: 2em; color: white; font: 100%/1.6 Baskerville, Palatino, serif; -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 3 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 @@ -20,7 +20,8 @@ div::before { position: absolute; top: 0; right: 0; width: 1.73em; height: 3em; background: linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.2) 0, rgba(0,0,0,.3)) 100% 0 no-repeat; transform: translateY(-1.3em) rotate(-30deg); transform-origin: 100% 100%; border-bottom-left-radius: .5em; box-shadow: -.1em .1em .3em rgba(0,0,0,.1) } -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 12 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 @@ -3,14 +3,24 @@ */ div { position: relative; width: 12em; background: #58a; /* Fallback */ background: linear-gradient(-150deg, transparent 1.5em, #58a 0); padding: 2em; color: white; font: 100%/1.6 Baskerville, Palatino, serif; border-radius: .5em; } div::before { content: ''; position: absolute; top: 0; right: 0; width: 1.73em; height: 3em; background: linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.4) 0) 100% 0 no-repeat; transform: translateY(-1.3em) rotate(-30deg); transform-origin: 100% 100%; border-bottom-left-radius: .5em; box-shadow: -.1em .1em .2em rgba(0,0,0,.1) } -
csssecrets revised this gist
Jan 31, 2015 . 1 changed file with 4 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 @@ -1,14 +1,14 @@ /** * Folded corner effect — 30deg */ div { width: 12em; background: #58a; /* Fallback */ background: linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.4) 0) 100% 0 no-repeat, linear-gradient(-150deg, transparent 1.5em, #58a 0); background-size: 3em 1.73em, auto; padding: 2em; color: white; -
csssecrets created this gist
Jan 31, 2015 .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,16 @@ /** * Folded corner effect */ div { width: 12em; background: #58a; /* Fallback */ background: linear-gradient(-135deg, transparent 50%, rgba(0,0,0,.4) 0) 100% 0 no-repeat, linear-gradient(-150deg, transparent 1.4em, #58a 0); background-size: 2em 2em, auto; padding: 2em; color: white; font: 100%/1.6 Baskerville, Palatino, serif; } 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,2 @@ <div>“The only way to get rid of a temptation is to yield to it.” — Oscar Wilde, The Picture of Dorian Gray</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"}