diuspla:none vs visibility hidden code example Example 1: css hiddden .classname { visibility: hidden; } Example 2: hide in css display:none;