Initializing
Liveweave
Web
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
frame_source
Python Playground
New
arrow_outward
build
Tools
expand_more
restart_alt
Load "Hello Weaver!"
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> <!-- VIEWPORT (required) --><meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- / / / / / / / / / CSS RESET (required and good practice to include) --> <link href="//cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css" rel="stylesheet"/> </head> <body> <!-- PAGE WRAPPER --><div id="wrapper" class="active"> <!-- SIDEBAR WRAPPER --><div id="sidebar-wrapper"> <!-- SIDEBAR CONTENT --><div class="sidebar-nav"> *Sidebar Content* </div><!-- SIDEBAR CONTENT END --> </div><!-- SIDEBAR WRAPPER END --> <!-- CONTENT WRAPPER --><div id="page-content-wrapper"> <!-- HEADER --><div class="content-header"> <!-- MENU TOGGLE --><a id="menu-toggle" href="#">menu toggle</a> *Header Content* </div><!-- HEADER END --> <!-- Keep all page content within the page-content inset div! --> <!-- CONTENT INSET --><div class="page-content inset"> *Page Content* </div><!-- CONTENT INSET END --> </div><!-- CONTENT WRAPPER END --> </div><!-- PAGE WRAPPER END --> <!-- SCRIPTS --> <!-- JQUERY (required) --><script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> </body> </html>
/* MENU TOGGLE */ #menu-toggle { background-color: #121212; border-bottom-right-radius: 30px; border-top-right-radius: 30px; box-sizing: border-box; color: #fff; cursor: pointer; float: left; font-family: Ubuntu, Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 10px; line-height: 14.285715103149414px; margin: -2px; padding: 9px 9px 9px 5px; text-align: center; text-decoration: none; width: 51px;} /* PAGE WRAPPER */ #wrapper { padding-left: 185px; transition: all 0.4s ease 0s; } /* SIDEBAR WRAPPER*/ #sidebar-wrapper { margin-left: -185px; left: 185px; width: 185px; background: #121212; position: fixed; height: 100%; overflow-x: hidden; z-index: 5; transition: all 0.4s ease 0s; color:#fff; } /* MENU TOGGLE */ #menu-toggle { display: none; } /* HEADER */ .content-header { height: 65px; line-height: 65px; background-color: #FAEBD7; } /* Set the line-height to the height of the header and text will be centered vertically! Just in case you wanted a header and such. */ /* / / / / / / / / / / ALTERNATE DISPLAY: CONDITIONS SMALLER THAN 767PX */ @media (max-width:767px) { /* PAGE WRAPPER */ #wrapper { padding-left: 0; } #wrapper.active { position: relative; left: 185px; } /* MENU TOGGLE */ #menu-toggle { display: block; } /* SIDEBAR WRAPPER */ #wrapper.active #sidebar-wrapper { left: 185px; width: 185px; transition: all 0.4s ease 0s; } #sidebar-wrapper { left: 0; } } /* / / / / / / / / / / ALTERNATE DISPLAY END */
/* MOBILE MENU TOGGLE */ $("#menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("active"); }); /* END */