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
<style> @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap'); </style> <div class="wrap1"> <div class="wrap2"> <div class="shape shape3"> <p data-b></p> <p class="edge"></p> <p class="edge"></p> <p data-b></p> <p data-b></p> <p data-b></p> <p class="edge"></p> <p class="edge"></p> <p data-b></p> <p class="edge"><span>g</span></p> <p><span>j</span></p> <p><span></span></p> <p class="edge"><span>H</span></p> <p data-b></p> <p class="edge"><span></span></p> <p><span>I</span></p> <p><span>B</span></p> <p class="edge"><span>h</span></p> <p class="edge"></p> <p></p> <p></p> <p></p> <p class="edge"></p> <p></p> <p></p> <p></p> <p class="edge"></p> <p class="edge"><span>L</span></p> <p><span>h</span></p> <p><span>k</span></p> <p><span>k</span></p> <p></p> <p><span>h</span></p> <p><span>k</span></p> <p><span>k</span></p> <p class="edge"><span>h</span></p> <p data-b></p> <p class="edge"></p> <p></p> <p></p> <p></p> <p></p> <p></p> <p class="edge"></p> <p data-b></p> <p data-b></p> <p data-b></p> <p class="edge"><span>G</span></p> <p><span>F</p> <p><span>T</p> <p><span>G</span></p> <p class="edge"></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p class="edge"></p> <p></p> <p class="edge"></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> <p class="edge"></p> <p data-b></p> <p data-b></p> <p data-b></p> <p data-b></p> </div> </div> <div class="box"> <p class="testing"><span>text</span></p> <p class="testing2"><span>text</span></p> </div> </div>
:root { --bg-color: transparent; } .wrap1 { width: 400px; height: 400px; background: red; margin: auto; position: relative; } .box p { font-family: "Roboto", sans-serif; font-size: 35px; color: #ff00ff; } .testing, .testing2 { position: absolute; margin: 0; } .testing { top: 320px; left: 23px; } .testing2 { top: 353px; left: 185px; } .wrap2 { width: 400px; height: 400px; background: #000; display: grid; margin: auto; align-content: center; } h1 { text-align: center; } p { margin: 0; line-height: 1px; font-size: 28px; color: #ed1c24; font-family: "Roboto", sans-serif; z-index: 3; } .wrap2{position:relative;} .shape { display: flex; flex-wrap: wrap; background-color: var(--bg-color); color: white; margin: 1rem auto; gap: 4px; width: 302px; } .shape:before, .shape:after { width: 100%; height: 100%; border-radius: 5px; content: ""; position: absolute; top: 0; left: 0; bottom: 0; margin: auto; display: block; opacity: 0.3; z-index: 2; } .shape:before { background: repeating-linear-gradient(45deg, red 2px, transparent 7px); } .shape:after { background: repeating-linear-gradient(-45deg, red 2px, transparent 7px); } /* set all blocks to red */ .shape > * { background-color: var(--base-color); aspect-ratio: 1 / 1; flex: 0 0 30px; text-align: center; display: flex; justify-content: center; align-items: center; } [data-b] { background: var(--bg-color); } .shape2 > * { --base-color: rgb(34, 177, 76); } /*.shape2>*:not(:empty) { background: var(--highlight-color) }*/ /* shape3 example*/ .shape3 > * { --base-color: ORANGE; } .edge { background: green; }
// Write JavaScript here