+ 7

Collapsibles with CSS

Can you help me with making collapsibles with CSS. Like the ones of bootstrap.

10th Aug 2018, 8:16 AM
***
15 Réponses
+ 5
Saksham Saxena can we make it without js only with CSS?
10th Aug 2018, 9:43 AM
***
10th Aug 2018, 9:28 AM
***
+ 4
Janning⭐ still is there is any way?
10th Aug 2018, 10:05 AM
***
+ 4
Janning⭐ thnx. I understood well. Still can u provide me with a code for better understanding.
10th Aug 2018, 10:35 AM
***
+ 4
Janning⭐ an example code
10th Aug 2018, 10:37 AM
***
+ 3
Saksham Saxena in your code if we click on one it starts and if we click on the second one then the first one closes. I want that if we click on the first one it will open and if we click on another collapsible it will open but the first one will not close
10th Aug 2018, 9:32 AM
***
+ 3
You can cheat with the details and summary tags. It renders differently between browsers though: https://www.w3schools.com/tags/tag_details.asp https://www.w3schools.com/tags/tag_summary.asp Accordions without JavaScript are much more complicated.
10th Aug 2018, 10:03 AM
Janning⭐
Janning⭐ - avatar
10th Aug 2018, 10:31 AM
Janning⭐
Janning⭐ - avatar
+ 2
What's missing?
10th Aug 2018, 10:36 AM
Janning⭐
Janning⭐ - avatar
+ 1
There were example codes in the link.
10th Aug 2018, 10:37 AM
Janning⭐
Janning⭐ - avatar
0
Can anyone post questions for Python new learners?
23rd Aug 2018, 3:05 PM
Sekhar
0
@Sekhar Please don't hijack this thread -- instead, use the search bar to help minimize the number of duplicate questions taking up space on SoloLearn servers and slowing down loading times for users. If you have a question that hasn't already been asked, you can start a new thread in the Q&A section.
23rd Aug 2018, 10:49 PM
Janning⭐
Janning⭐ - avatar