镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

Simple Tree - Simple collapsible tree in pure CSS without using JS and images

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Simple Tree

Simple collapsible tree in pure CSS without using JS and images.

Demo

http://psnet.github.io/simple-tree/demo/

Part of the code from the demo:

<ul class="simple-tree">
  <li>
    <input type="checkbox" checked="checked" id="simple-tree-item-1" />
    <label for="simple-tree-item-1">Folder</label>
    <ul>
      <li>Item 1</li>
      <li>Item 2</li>
      <li>Item 3</li>
    </ul>
  </li>
  <li>
    <input type="checkbox" checked="checked" id="simple-tree-item-2" />
    <label for="simple-tree-item-2">Folder</label>
    <ul>
      <li>
        <input type="checkbox" checked="checked" id="simple-tree-item-3" />
        <label for="simple-tree-item-3">Folder</label>
        <ul>
          <li>Item 1</li>
          <li>Item 2</li>
          <li>Item 3</li>
        </ul>
      </li>
      <li>Item 3</li>
    </ul>
  </li>
</ul>

Connection

  • Include CSS file
  • Create html code using the demo code example

License

(P) PSNet 2014

Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

About

Simple Tree - Simple collapsible tree in pure CSS without using JS and images

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages