Some webpages have a "turning" triangle control that can collapse submenus. I want the same sort of behavior, but for sections in a form.
Say I had a form that had lender, name, address and city inputs. Some of my site's users are going to need a second set of these fields. I would like to conceal the extra fields for the majority of the users. The ones that need the extra fields should be able to access them with one click. How would I do that? Can't help with your problem, I'm afraid, but "Little Folding Triangles" would make a great song title. Sorry, but as a musician it appealed to me!
以上就是Little folding triangles: how can I create collapsible sections on a webpage? 的详细内容，更多请关注web前端其它相关文章！