Answer the question
In order to leave comments, you need to log in
How to make a collapsible table?
How to make such a table?
Answer the question
In order to leave comments, you need to log in
I would try to make a wrapper block for the table, set its height less than the height of the table and overflow: hidden (hide everything that goes beyond the block borders). when clicking on the table, increase the height of the wrapper block to the height of the table
Something like this, just hang some more frills - a translucent gradient, smooth folding, etc.
Ilya, I highly recommend changing the philosophy a little and switching to indents with spaces.
All modern editors understand this.
In JS/CSS it's two, in Python 4, in HTML it's either one or the other.
And here they are set to 8.
Your code is unreadable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question