Is it possible to do such a link?

Hello! Tell me - is the modal window CSS that appears when clicking on a link with href #modal
Question: is it possible to make a link like www.site.ru/script.php?xxx=xxx#modalto create a modal window in CSS?
July 2nd 19 at 13:55
2 answers
July 2nd 19 at 13:57
Solution
Yes, you can.
July 2nd 19 at 13:59
There is a pseudo class :target htmlbook.ru/css/target

Example: https://jsfiddle.net/egenik/tud04a7z/

Find more questions by tags HTML