mirror of
https://github.com/danog/sass-site.git
synced 2024-12-11 17:09:52 +01:00
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
---
|
|
layout: base
|
|
title: Playground
|
|
is_playground: true
|
|
---
|
|
|
|
<div class="playground-wrapper" data-compiler-has-error="false">
|
|
<div class="code-editor-wrapper">
|
|
<div
|
|
class="code-editor-tabbar"
|
|
data-active="scss"
|
|
data-setting="inputFormat">
|
|
<button
|
|
type="button"
|
|
data-value="scss"
|
|
data-setting="inputFormat">SCSS</button>
|
|
<button
|
|
type="button"
|
|
data-value="indented"
|
|
data-setting="inputFormat">Sass</button>
|
|
</div>
|
|
<div id="editor"></div>
|
|
</div>
|
|
<div class="code-editor-wrapper">
|
|
<div
|
|
class="code-editor-tabbar"
|
|
data-active="expanded"
|
|
data-setting="outputFormat">
|
|
<strong>CSS</strong>
|
|
(Compiled)
|
|
<button
|
|
type="button"
|
|
data-value="expanded"
|
|
data-setting="outputFormat">Expanded</button>
|
|
<button
|
|
type="button"
|
|
data-value="compressed"
|
|
data-setting="outputFormat">Compressed</button>
|
|
</div>
|
|
<div id="code-editor-error-alert">Please resolve error to view compiled CSS.</div>
|
|
<div id="css-view"></div>
|
|
</div>
|
|
<div class="console-wrapper">
|
|
<div class="code-editor-tabbar">Debug Console</div>
|
|
<pre class="console"></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="module" src="/assets/dist/js/playground.js" async></script>
|