You can certainly hide things with CSS, but you should think twice, for the sake of your users.
A “tabbed menu” design is a very common user experience pattern in web design and one that people have learned to intuitively understand. If you start disappearing tabs when the user is on the page, those users may become confused or disoriented.