Style description
This commit is contained in:
@@ -23,6 +23,12 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
#description {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: var(--space-base);
|
||||||
|
padding: var(--space-base);
|
||||||
|
}
|
||||||
|
|
||||||
#style-editor {
|
#style-editor {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
@@ -120,7 +126,8 @@
|
|||||||
<div class="name"><a href="/">Zackarias Montell</a></div>
|
<div class="name"><a href="/">Zackarias Montell</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p>This is an interactive html and css playground built with minimal JS.</p>
|
<p id="description">This is an interactive HTML and CSS playground built with minimal JS. Alter the HTML and CSS below
|
||||||
|
to preview the changes.</p>
|
||||||
<div id="preview"></div>
|
<div id="preview"></div>
|
||||||
<textarea rows="15" autocomplete="false" autocorrect="false" id="style-editor"
|
<textarea rows="15" autocomplete="false" autocorrect="false" id="style-editor"
|
||||||
oninput="document.getElementById('style').innerHTML = this.value">
|
oninput="document.getElementById('style').innerHTML = this.value">
|
||||||
|
|||||||
Reference in New Issue
Block a user