zengarden-bits/README.md

19 lines
416 B
Markdown
Raw Normal View History

2024-02-14 18:43:55 +00:00
# Zengarden Web - bits
fork of biutiful https://www.zengardenwebsites.com
2022-12-08 10:18:27 +00:00
2022-12-08 10:37:26 +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:27 +00:00
2022-12-08 10:37:26 +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:37:26 +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>
2024-02-14 18:43:55 +00:00
```