Revisions
-
thomasplevy revised this gist
Jun 10, 2012 . No changes.There are no files selected for viewing
-
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,36 @@ /** * css3 slash images */ div { position: relative; margin: 25px; } div:before { content: ""; border-left: 350px solid white; border-bottom: 30px solid transparent; position: absolute; top: 0; left: 0; z-index:1; } div:after { content: ""; border-right: 350px solid white; border-top: 30px solid transparent; position: absolute; bottom: 5px; left: 0; z-index: 1; } img { transition: all .3s ease; } img:hover { opacity: .8; } 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 @@ <div><img src="http://placedog.com/350/500" alt="DOG!"></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":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}