You can use js or php and their libraries for a better SEO.
<script>
$('.id').addclass('hide'); or $('.id').addclass('active'):
</script>
Also many of these sites created by wordpress (most famous cms) witch you can download it freely and use it in xampp or wamp server.
You can freely download it's themes and plugins.
By the way wordpress is open source
https://wordpress.com/
https://www.apachefriends.org/download.html