Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Another option is the <details> element, which I assume is accessible by default since it’s a browser built-in.
Thank you for this tutorial.
Would you mind clarifying what you mean by making it ‘Accessible’? My intention is to use this without javascript and when I try this collapsible method on my website, without javascript, it works as intended. Am I using it wrong?
Also, what’s the browser compatibility with this method compared to:
?
Thanks again and hope to hear from you soon.
Is it somehow possible to use multiple of these at once? Currently when using more than one, clicking on any of them just opens the first one
Just installed on my website, looking good after customizing it, but I need help with something.
I put content in it, an image(535x315) and a YouTube video(585x315) both contents are side by side while must resolutions works perfectly well, I found issues with resolutions between 700 and 1268, how can I make those resolutions could work properly with the content that I put inside.
Wrap-collapsible at 1080p https://i.imgur.com/cIOecNB.png
Wrap-collapsible at 1268 https://i.imgur.com/Cr7wAP5.png
Thanks in advance.
I currently have this implemented on an intranet, and it works just fine. I’m able to use multiple at once but I’m wondering, is it possible when toggling one open to auto close it when toggling another?
In Firefox 116.0.3 I get a warning due to this rule:
.wrap-collabsible {
margin-bottom: 1.2rem 0;
}
Error in parsing value for ‘margin-bottom’. Declaration dropped.
Apart from that, this works great. I’ll go with <details> though, as mentioned by Harry Cutts.