Created
March 3, 2014 15:31
-
-
Save makenowjust/9327417 to your computer and use it in GitHub Desktop.
HTML5+CSS3でQuine書いてみた ref: http://qiita.com/make_now_just/items/9c48e84183f73289ef51
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 data-tag="html"> | |
<head data-tag="head"> | |
<style data-tag="style">/*<![CDATA[*/ | |
* { | |
display: block; | |
white-space: pre; | |
left: 0; | |
margin: 0; | |
padding: 0; | |
border: 0; | |
} | |
*:before { | |
content: "<" attr(data-tag) " data-tag=\"" attr(data-tag) "\">"; | |
} | |
*:after { | |
content: "</" attr(data-tag) ">"; | |
} | |
html:before { | |
content: "<!doctype html><html data-tag=\"html\">"; | |
} | |
html, head, body { | |
white-space: normal; | |
} | |
/*]]>*/</style> | |
</head> | |
<body data-tag="body"> </body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment