Showing and Hiding content using only CSS in the Documentation FCC project

The only secret key is the         {   :target     }        pseudo class
read more about it in MDN target psudo-class

Here is the project on code pen :grin: I know that the phone view is so bad but … just check it

project on codepen :hugs:

I’m still confused about the first page’s content and how it should be looks like but don’t worry about it right now I’ll fix it later … you only need to choose what you need from the navigation menu and it will be appear

1 Like

I like the trick but I beleive in practice display blocking text is a bad thing and may be considered black hat SEO

1 Like

I have no idea abt what it mean … I’ll search about it now
thanks for the feedback ; )