Using the ':target' pseudo-class — CSS Tutorial

preview_player
Показать описание
In today's video I'll be showing you how to use the ":target" CSS pseudo-class.

You can use this pseudo-class to highlight the element whose ID appears in the fragment identifier (or anchor) part of the URL. This can be useful to indicate to users which fragment of the page they have been linked to.

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcodeyt!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

i hava created an webpage of 3 div sections. top left and right using div, now i want to display any webpage on right side clicking on left side text or image. how can i do it please.

mdanamulhassan