how to completely hide element from page in css code example Example 1: css hide element .classname { display: none; } Example 2: hide in css display:none;