+ 1

How to minimize an article.

I'm trying to write an article which will be part of a "web page" but I actually want it to display a few sides of the article when the page is loaded and then display the full thing when you tap on it. The aim is to make the article to expand on a tap and minimize on another tap (you may have noticed that Facebook does this for long articles). I can expand it with "ID:hover" but I can't find away to minimize it back.

26th Oct 2019, 8:25 AM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
4 Respostas
+ 4
You could use for that js or maybe html <details><summary>/summary></details>
26th Oct 2019, 8:59 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
26th Oct 2019, 9:50 AM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
+ 1
🍇 Alex Tusinean 💜 I never knew about that before. Let me try it
26th Oct 2019, 9:52 AM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
0
show your code
26th Oct 2019, 8:34 AM
T1mun
T1mun - avatar