Liveweave: Generative AI Web Editor & HTML/CSS/JS Playground
Initializing
Liveweave
Web
expand_more
home
Home
data_object
CSS Explorer
arrow_outward
Palette
Color Explorer
arrow_outward
Polyline
Graphics Editor
arrow_outward
data_array
Python Editor
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 lang="es"> <head> <meta charset="UTF-8"> <title>Rosa en HTML y CSS</title> <style> body { background: #222; display: flex; align-items: center; justify-content: center; height: 100vh; } .rose { position: relative; width: 120px; height: 120px; } .petal { position: absolute; width: 60px; height: 80px; background: #d81b60; border-radius: 60px 60px 0 0; left: 30px; top: 20px; transform-origin: bottom center; opacity: 0.9; animation: open-petal 2s ease-in-out infinite alternate; } .petal:nth-child(2) { transform: rotate(-40deg); left: 30px; animation-delay: 0.2s; } .petal:nth-child(3) { transform: rotate(40deg); left: 30px; animation-delay: 0.4s; } .petal:nth-child(4) { transform: rotate(80deg); left: 30px; animation-delay: 0.6s; } .petal:nth-child(5) { transform: rotate(-80deg); left: 30px; animation-delay: 0.8s; } @keyframes open-petal { 0% { transform: scaleY(1) rotate(0deg);} 100% { transform: scaleY(1.1) rotate(8deg);} } .center { position: absolute; left: 46px; top: 54px; width: 30px; height: 36px; background: #ad1457; border-radius: 50% 50% 40% 40%; z-index: 2; } .stem { position: absolute; left: 59px; top: 92px; width: 6px; height: 50px; background: #388e3c; border-radius: 3px; z-index: 1; } .leaf { position: absolute; left: 55px; top: 115px; width: 20px; height: 12px; background: #43a047; border-radius: 10px 30px 10px 30px; transform: rotate(-28deg); } .leaf.right { left: 65px; top: 120px; transform: rotate(28deg); } </style> </head> <body> <div class="rose"> <div class="petal"></div> <div class="petal"></div> <div class="petal"></div> <div class="petal"></div> <div class="petal"></div> <div class="center"></div> <div class="stem"></div> <div class="leaf"></div> <div class="leaf right"></div> </div> </body> </html>
.lw { font-size: 60px; }
// Write JavaScript here
Check out the new AI-powered Python Playground
×