Display: none; vs. visibility: hidden
Keep in mind that using display: none
removes an element from the flow of the document, whereas using visibility: hidden
does not. Most of the time this won't be an issue, but it can sure come in handy in certain situations.
Written by Joshua Hibbert
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Related Tags
#css
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#