Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SquareWheel
· 7y ago · 0 comments
I was thinking about that problem earlier. Is there not a CSS unit for container size? If not, that seems like a very useful addition. Like a more embedded version of vw/vh.
Comments
[–]
ZeikJT
7y ago
Percent can be based on container depending on how the container size is set.
[–]
SquareWheel
OP
7y ago
Ah, of course you're right. Good point thank you.