2022-12-08 10:18:27 +00:00
|
|
|
# zengardenwebsites
|
|
|
|
|
2022-12-08 10:19:17 +00:00
|
|
|
Demo: https://www.zengardenwebsites.com
|
2022-12-08 10:18:27 +00:00
|
|
|
|
|
|
|
A website in a single HTML file. It simply uses the #anchor suffix and the :target CSS selector to show and hide pages/content.
|
|
|
|
|
2022-12-08 10:18:59 +00:00
|
|
|
To create a new page, add a <section> with a unique id:
|
2022-12-08 10:18:27 +00:00
|
|
|
```
|
|
|
|
<section id="contact">
|
|
|
|
Contact me!
|
|
|
|
</section>
|
|
|
|
```
|
2022-12-08 10:18:59 +00:00
|
|
|
Then you could add a link to it inside <nav>:
|
2022-12-08 10:18:27 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
<a href="#contact">Contact</a>
|
|
|
|
```
|