text hide code example Example 1: css erase text .hidden { font-size: 0; } Example 2: hiding text css display: none;