Skip to content

davidvkimball/one-page

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A website in a single HTML file. It simply uses the #anchor suffix and the :target CSS selector to show and hide pages/content.

To create a new page, add a <section> with a unique id:

<section id="contact">
   Contact me!
</section>

Then you could add a link to it inside <nav>:

<a href="#contact">Contact</a>

Credits: Forked from here.

About

A one-page HTML website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 63.6%
  • CSS 36.4%