+ 7

display:none; [solved]

How to make a text with display:none; appear only when i press a triggerer? (button , input , etc)

28th Dec 2018, 9:24 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
6 odpowiedzi
+ 5
---display:none; hides your code content and doesn't leave any space. ---display:block; makes the code content to reappear with a little skill javascript. -(Thank you , the person who deleted his answer late enough for me to see it.)
28th Dec 2018, 9:37 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 7
Learner i only needed the part. display:block; because i couldn't find in the display lesson how to make something visible .
28th Dec 2018, 9:42 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
Only for reference & indexing purpose.
30th Dec 2018, 8:26 AM
Asim Farheen
Asim Farheen - avatar