Scott Jenson on Nostr: #CSS help I'm trying to create a menu that grows (height: auto) but I don't want it ...
#CSS help
I'm trying to create a menu that grows (height: auto) but I don't want it to grow past it's parent height. I've tried max-height: 90% but that doesn't work as the parent (which I can't touch) is set to 100%) Using nested % in CSS is a no no.
Are there any other tricks I can use? I can't touch the parent.
I'm trying to create a menu that grows (height: auto) but I don't want it to grow past it's parent height. I've tried max-height: 90% but that doesn't work as the parent (which I can't touch) is set to 100%) Using nested % in CSS is a no no.
Are there any other tricks I can use? I can't touch the parent.