What about how to do design?
This solution works as intended without any extra CSS, but the design is totally up to you. Add classes to the elements and style it up! If you’re curious about how I did it, I provided the link to the source code.
mean - it is possible it will be use inline style in HTML file, right?
Yes, you can do it however you like.
okay, I will try my best level for sure. :-)
I did a post a few years ago and go into a little detail about styling, if you're interested.
Easy, look at this example codepen.io/MrakCw/pen/mdWBWjb
String in summary it can be like a link, well, you can just open it without a link)
Hello! I have modified it a little to highlight it:
<details> <summary><h1><span style="color: #333399; background-color: #ffffff;"><strong>DETALLE DE CONTENIDOS:</strong></span></h1></summary> <p> CONTENIDO CONTENIDO CONTENIDO </p> </details>
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What about how to do design?
This solution works as intended without any extra CSS, but the design is totally up to you. Add classes to the elements and style it up! If you’re curious about how I did it, I provided the link to the source code.
mean - it is possible it will be use inline style in HTML file, right?
Yes, you can do it however you like.
okay, I will try my best level for sure. :-)
I did a post a few years ago and go into a little detail about styling, if you're interested.
Native HTML: Accordion
Andrew Bone ・ Jan 4 '19 ・ 3 min read
Easy, look at this example
codepen.io/MrakCw/pen/mdWBWjb
String in summary it can be like a link, well, you can just open it without a link)
Hello!
I have modified it a little to highlight it: