Initializing...
Liveweave
expand_more
home
Home
data_object
CSS Explorer
arrow_outward
Palette
Color Explorer
arrow_outward
Polyline
Graphics Editor
arrow_outward
outbox_alt
Generative AI
arrow_outward
build
Tools
expand_more
restart_alt
Load base template
post_add
Generate Lorem ipsum...
code
Format HTML
code_blocks
Format CSS
data_object
Format JavaScript
library_add
Library
expand_more
A
Algolia JS
Animate CSS
Apex Charts JS
B
Bulma CSS
Bootstrap
C
Chart JS
Chartist
Create JS
D
D3
Dojo
F
Foundation
Fullpage JS
G
Granim JS
Google Charts
H
Halfmoon
J
jQuery
M
Materialize
Moment JS
Masonry JS
Milligram CSS
P
Pure CSS
Primer CSS
Popper JS
Pattern CSS
Picnic CSS
R
React JS
Raphael JS
Raisin CSS
S
Semantic UI
Skeleton CSS
Spectre CSS
Tachyons CSS
T
Tailwind
Three JS
U
UI Kit
Vis JS
W
Water CSS
download
Download
expand_more
developer_mode
Download as HTML
folder_zip
Download as .ZIP
cloud_upload
Save
account_circle
Login
settings
Settings
expand_more
14
px
Live mode
Night mode
Line number
Mini map
Word wrap
sync_alt
Reset Settings
smart_display
Run
<!DOCTYPE html> <html> <head> <title>HTML5, CSS3 and JavaScript demo</title> </head> <body> <div id="toolbox"> <header>code editor:</header> <div id="drop"> <div id="innerheaderdrop"> <header> <input type="checkbox" id="ljavascript" name="ljavascript" title="[Alt+J]" /> <label for="ljavascript" title="[Alt+J]"> javascript</label><br> </header> <div id="innerdrop"> <button id="jscodeautodebug" class="in-drop-button">auto debug "<span id="debug-indicator" class="dadebugindicatoron">on</span>"</button> <textarea id="js-code" placeholder="JS/JQuery code here.">$(document).ready(function() { });</textarea></div> </div> </div> </div> </body> </html>
#toolbox { position: absolute; top: 0; right: 0; bottom: 0; overflow: auto; z-index: 1; background-color: #333; color: #ccc; text-align: left; padding: 5px 10px; } #toolbox header { cursor: pointer; padding: 0 5px; margin: 0; border: 1px solid #151515; background: #333; color: #999; font: 14px times; text-transform: uppercase; } #toolbox button { cursor: pointer; white-space: nowrap; position: relative; top: -3px; padding: 5px 0; margin: 0; width: 80%; font: 12px arial; color: #6DD; text-align: left; background-color: #222; border: 0; outline: 0; } #toolbox div#drop { font-family: helvetica; border-left: 1px solid #151515; border-right: 1px solid #151515; border-bottom: 1px solid #151515; margin: 0 0 5px 0; } #toolbox > div#drop > #innerheaderdrop { width: 90%; padding: 5px; margin: 0 auto 5px auto; } #toolbox > div#drop > #innerdrop { border: 1px solid #222; } #toolbox .in-drop-button { cursor: pointer; width: 100%; margin-top: 2px; padding: 1em; color: #fff; font-family: arial; text-transform: uppercase; text-align: center; background-color: #444; } #toolbox .in-drop-button:hover { background-color: #555; } #toolbox .in-drop-button:active { background-color: #333; } #toolbox .dadebugindicatoron { color: #0CF; } #toolbox .dadebugindicatoroff { color: #FF5B5B; } #js-code { width: 100%; padding: 0; margin: 0 0 2px 0; border: 0; min-height: 60px; height: 210px; resize: vertical; }
$(document).ready(function() { $("#toolbox").find("header:not(input[type=checkbox])").on('mouseup touchend', function() { $(this).toggleClass("activedrop").next().toggle(); }); });