Skip to content

Instantly share code, notes, and snippets.

@ahuigo
Last active August 27, 2018 13:33
Show Gist options
  • Save ahuigo/ea584caed67ffcfdc55b332e7ff1b45d to your computer and use it in GitHub Desktop.
Save ahuigo/ea584caed67ffcfdc55b332e7ff1b45d to your computer and use it in GitHub Desktop.
Simple codepen fiddle
data:text/html,<body oninput="i.srcdoc=h.value+'<style>'+c.value+'</style><script>'+j.value+'</script>'"><style>textarea,iframe{width:100%;height:50%}body{margin:0}textarea{width:33.33%;font-size:18}</style><textarea placeholder=HTML id=h></textarea><textarea placeholder=CSS id=c></textarea><textarea placeholder=JS id=j></textarea><iframe id=i>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment