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
<div class="content_a"> <section class="a"> <section class="a_a"> <center><img src="http://paaalci.6f.sk/img/logo-mini.png"/> </center></section> <section class="a_b"> <ul> <a href=""><li>Hlavná stránka</li></a> <a href=""><li>Referencie</li></a> <a href=""><li>Mini projekty</li></a> <a href=""><li>kontakt</li></a> </ul> </section> <section class="a_c"> <span class="menu-icon">Menu</span> </section> </section> <section class="c_b"> <ul> <a href=""><li>Hlavná stránka</li></a> <a href=""><li>Referencie</li></a> <a href=""><li>Mini projekty</li></a> <a href=""><li>kontakt</li></a> </ul> </section> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
.content_a{ max-width: 980px; margin: auto; } .content_a .a{ max-width: 980px; margin: 50px 0; background: #EEEEEE; overflow: hidden; height: 80px; -webkit-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: 0 0.5px 0.5px 0 #A3A3A3; box-shadow: 0 0.5px 0.5px 0 #A3A3A3; } .content_a .a_a{ height: 80px; width: 20%; float: left; text-align: center; display: flex; flex-direction: column; justify-content: center; } .content_a .a_a img{ transition: all 0.5s ease; border: 0; } .content_a .a_a img:hover{ -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); cursor: pointer; } .content_a .a_b{ height: 80px; width: 80%; float: left; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 10px; } .content_a .a_b ul{ list-style-type: none; margin: 0; padding: 0; } .content_a .a_b li{ display: inline; float: left; margin: 0 10px; font-size: 18px; font-weight: bold; border-bottom: 2px solid #EEEEEE; transition: all 0.2s ease; } .content_a .a_b li:hover{ border-bottom: 2px solid #000000; } .content_a .a_b a{ display: block; text-decoration: none; color: #000000; } .content_a .a_c{ height: 80px; width: 0; float: left; display: none; } @media screen and (max-width: 640px){ .content_a .a{ margin: 0; -webkit-border-radius: 0; border-radius: 0; } .content_a .a_a{ width: 80%; } .content_a .a_b{ display: none; height: 0; } .content_a .a_c{ display: block; width: 20%; text-align: center; display: flex; flex-direction: column; justify-content: center; } } .menu-icon{ background: #D0D0D0; width: 70px; height: 40px; font-size: 17px; font-weight: bold; border: 1px solid #B0B0B0; -webkit-border-radius: 4px; border-radius: 4px; text-align: center; display: flex; flex-direction: column; justify-content: center; transition: all 0.2s ease; } .menu-icon:hover{ background: #EEEEEE; cursor: pointer; } .c_b{ display: none; } .menu-open{ display: block; background: #EEEEEE; } .content_a .c_b{ margin-top: -20px; padding: 20px 0; } .content_a .c_b ul{ list-style-type: none; } .content_a .c_b li{ display: block; padding: 10px 15px; border-bottom: 1px solid #D0D0D0; margin-right: 40px; } .content_a .c_b a{ font-size: 17px; font-weight: bold; color: #000000; text-decoration: none; } html{ box-sizing: border-box; } *, *:before, *:after{ box-sizing: inherit; } body{ background: #1e436f; font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif; color: #37474f; font-size: 15px; margin: auto; padding: 0 10px; }
$(".menu-icon").click(function(){ $(".c_b").toggleClass(" menu-open"); });