Liveweave: Generative AI Web Editor & HTML/CSS/JS Playground
Initializing
Liveweave
Web
expand_more
home
Home
Palette
Color Explorer
arrow_outward
Polyline
Graphics Editor
arrow_outward
frame_source
Python Playground
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
Fork
account_circle
Login
settings
Settings
expand_more
Editor font
14
px
A
A
Line number
Mini map
Word wrap
sync_alt
Reset Settings
smart_display
Run
left_panel_close
AI Assistant
dashboard
All
HTML
CSS
JS
visibility
Preview
bolt
Live Preview
terminal
JS Console
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Fancy 3D Box</title> </head> <body> <div class="container"> <div class="box"> <div class="face front"></div> <div class="face back"></div> <div class="face left"></div> <div class="face right"></div> <div class="face top"></div> <div class="face bottom"></div> </div> </div> </body> </html>
body { margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; background: lightyellow; /* Light background color */ } .container { perspective: 1000px; /* Provides depth for 3D effect */ } .box { position: relative; width: 150px; height: 150px; transform-style: preserve-3d; transform: rotateX(0) rotateY(0); animation: rotate 10s infinite linear; } .face { position: absolute; width: 150px; height: 150px; background: rgba(255, 255, 255, 0.8); /* Semi-transparent face color */ border: 1px solid #ccc; /* Light border */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow for 3D effect */ } .front { transform: translateZ(75px); background: #FF6347; } /* Tomato color */ .back { transform: rotateY(180deg) translateZ(75px); background: #4682B4; } /* Steelblue color */ .left { transform: rotateY(-90deg) translateZ(75px); background: #3CB371; } /* Mediumseagreen color */ .right { transform: rotateY(90deg) translateZ(75px); background: #FFD700; } /* Gold color */ .top { transform: rotateX(90deg) translateZ(75px); background: #DA70D6; } /* Orchid color */ .bottom { transform: rotateX(-90deg) translateZ(75px); background: #20B2AA; } /* Lightseagreen color */ @keyframes rotate { from { transform: rotateX(0) rotateY(0); } to { transform: rotateX(360deg) rotateY(360deg); } }
// Write JavaScript here
terminal
JavaScript Console
Preview
Clear
close
›
Run