Created
July 10, 2015 12:39
-
-
Save engelju/8af3679a71b95b1fc357 to your computer and use it in GitHub Desktop.
Live style preview, without JavaScript!
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p> | |
Edit the CSS below! Live style preview, without JavaScript! | |
</p> | |
<style contenteditable="true"> | |
style { | |
display: block; | |
font-family: monospace; | |
white-space: pre-wrap; | |
border: 1px solid #888; | |
} | |
div { | |
color: lime; | |
font-weight: bold; | |
padding: 2em; | |
border: 3px double blue; | |
background: black; | |
} | |
</style> | |
<div> | |
Hello World | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment