Hide a widget in blogger using CSS temporarily

At times, it might be needed to hide any widget which might not be needed temporarily without deleting it.
So, to do that, define a CSS with the id of the widget and then include the following code,
visibility:hidden;
For example,
#widget1
{
//other CSS contents;
visibility:hidden;
}
Where widget1 is the id of the widget.
To redisplay the widget you simple need to remove the visibility option.