Created
October 19, 2020 23:11
-
-
Save vampaynani/ff124617ba92925f7c590008b5897788 to your computer and use it in GitHub Desktop.
HTML code
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
.code { | |
background: var(--grey-color); | |
padding: 2em; | |
} | |
.code_line { | |
display: block; | |
} | |
.code_line--tag { | |
color: var(--tag-color); | |
} | |
.code_line--attribute { | |
color: var(--attribute-color); | |
} | |
.code_line--value { | |
color: var(--value-color); | |
} |
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
<div class="code"> | |
<code class="code_line"> | |
<span class="code_line--tag"><h1</span> <span class="code_line--attribute">class=</span><span class="code_line--value">"h1"</span><span class="code_line--blue">></span>Eat, sleep, code, and repeat!<span class="code_line--tag"></h1></span> | |
</code> | |
<code class="code_line"> | |
<span class="code_line--tag"><h2</span> <span class="code_line--attribute">class=</span><span class="code_line--value">"h2"</span><span class="code_line--blue">></span>Eat, sleep, code, and repeat!<span class="code_line--tag"></h2></span> | |
</code> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment