title
A prototype
div{height:20px; background:black;} #a{ width:20px; } #b{ width:20%; }
let a = document.getElementById('a'); let b = document.getElementById('b'); let sa = window.getComputedStyle(a); let sb = window.getComputedStyle(b); console.log(sa.width) console.log(sb.width) // not %
snap
save
new
fork
download
html
css
js
output
gallery
config
➚ link to output
➚ snap player
font size
live reload
snap mode
layout
⤷ switch
★ info and code