none & hidden | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

none & hidden

what's the difference between none and hidden?

26th Aug 2016, 9:12 PM
sina massoumian
sina massoumian - avatar
5 Answers
+ 2
there's a huge difference bro. {display:none;} totally removes the contents while { visibility:hidden;} hides the contents but does not eradicate the space it was suppose to take.so it just makes it invincible.
28th Sep 2016, 5:24 AM
victor
victor - avatar
0
None means empty.. And hidden means... Invisible... But the matter is behind it
28th Aug 2016, 12:42 PM
Karthik Karthik
Karthik Karthik - avatar
0
kglljffmdkfgmffhiijjiryj
1st Sep 2016, 6:51 AM
R.Sai harshit
R.Sai harshit - avatar
0
as ufor even to do asfolrfsxprfit
1st Sep 2016, 6:52 AM
R.Sai harshit
R.Sai harshit - avatar
0
Display property tells how elements should be placed and visibility tells either element should be shown or not. Setting {display:none} removes elements and setting{visibility: hidden} hides elements but it isn't removed(it is still there).So, element with {display:none} doesn't cover space but element with {visibility:hidden} covers space.
5th Nov 2016, 11:02 AM
Namas Thapa
Namas Thapa - avatar