filetree-css

1.0.0 • Public • Published

filetree.css npmnpm

Implement function and style of file tree view using CSS only. No JavaScript.

NPM

demo

Installation

in Cli

npm i filetree-css --save

in HTML

<link rel="stylesheet" href="./node_modules/filetree-css/filetree.css">

Usage

<ul class="filetree">
  <li>
    <input type="checkbox" id="level1-1">
    <label for="level1-1">js</label>
    <ul>
      <li>my.js</li>
      <li>core.js</li>
    </ul>
  </li>
</ul>

Contributing

Welcome :)

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i filetree-css

Weekly Downloads

10

Version

1.0.0

License

MIT

Last publish

Collaborators

  • moschan