+ 3
none & hidden
what's the difference between none and hidden?
5 Réponses
+ 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.
0
None means empty.. And hidden means... Invisible... But the matter is behind it
0
kglljffmdkfgmffhiijjiryj
0
as ufor even to do
asfolrfsxprfit
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.