Created
September 11, 2012 18:32
-
-
Save jonathansousa/3700626 to your computer and use it in GitHub Desktop.
Clipping Test
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 characters
/** | |
* Clipping Test | |
*/ | |
body { | |
background-color:blue; | |
} | |
img { | |
background-color:red; | |
position: absolute; | |
top:30px; | |
left:50px; | |
clip: rect(10px 50px 60px 30px); | |
} | |
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 characters
<!-- content to be placed inside <body>…</body> --> | |
<img src="http://jonathansousa.com/sites/default/files/styles/personal_photo/public/istanbul_closeup.jpg"> |
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 characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment