-
-
Save dubiouscript/71963523eb392aabc7255f7ef70f1a65 to your computer and use it in GitHub Desktop.
HTML source viewer
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
| /* code view */ | |
| body { margin: 3em;} | |
| body::before, body::after { content: "";} | |
| html::before, html::after { content: "";} | |
| *::before, *::after { | |
| font-size: 0; | |
| font-family: monospace; | |
| color: purple; | |
| transition: 1s; | |
| } | |
| *::before { content: "<"attr(data-tag) ">";} | |
| *::after { content: "</"attr(data-tag)">";} | |
| body:hover *::before, | |
| body:hover *::after { font-size: 1em;} |
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
| <section title="hello" data-tag="section">Hover over this section to get the code view | |
| <pre data-tag="pre">This is meant to be HTML or JS code</pre> | |
| <div data-tag="div">I guess CSS would go here</div> | |
| </section> |
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-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment