Created
January 5, 2012 09:53
-
-
Save ZeeAgency/1564487 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
font-family: Trebuchet MS, Helvetica, Arial, sans; | |
} | |
style { | |
display: block; | |
margin: 10px; | |
padding: 10px; | |
white-space: pre; | |
font-family: Monaco, monospace; | |
line-height: 3em; | |
background: #EEE; | |
box-shadow: rgba(0, 0, 0, 0.5) 0 2px 10px inset; | |
border-radius: 5px; | |
} |
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
<h3>Editable Style</h3> | |
<style type="text/css" contenteditable>div {background: red;} /* There's no <div> in the HTML */ | |
p {padding: 10px; background: red; color: white;} | |
p {/* Type "Enter" just after this comment ->*/background: green;} | |
</style> | |
<p contenteditable> | |
Type some text and some new lines here too | |
</p> |
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","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment