+ 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.
4 Respostas
+ 4
You could use for that js or maybe html <details><summary>/summary></details>
+ 1
🍇 Alex Tusinean 💜 I never knew about that before. Let me try it
0
show your code