Does hiding content using CSS will affect the site ranking?

In my website using the CSS properties like display: none and visibility: hidden - I hidden links and text on the website, but suggest that it will harm the website SEO factors. I was wondering is there any other ways to hide content on the website without CSS.

Syndicate content