xxxxxxxxxx
.your-class-name{
display: none; // block or inline-block
}
.your-class-name{
visibility: hidden; // visible
}
display - completely removes the element from the document
visibility - makes the block invisible on the screen
xxxxxxxxxx
You can hide an element in CSS using the CSS properties
display: none or visibility: hidden .
display: none removes the entire element from the page
and mat affect the layout of the page.
visibility: hidden hides the element while keeping the space the same.