accordion-simple-vanilla
v1.0.5
Published
```sh npm install --accordion-simple-vanilla ```
Downloads
1
Readme
Accordion vanilla js
Installation
npm install --accordion-simple-vanilla
Get started
<div class="news-block__list">
<ul class="news-block__title">
<li class="news-block__item"></li>
<li class="news-block__item"></li>
<li class="news-block__item"></li>
</ul>
</div>
Usage
Include the following two files in your project:
<link rel="stylesheet" href="./accordion.css">
<script src="./accordion.js"></script>
Note
This style sheet only includes the properties needed for the accordion to work. Creating an attractive appearance using colors and fonts is left to the discretion of the developer. Check out the source of the included demos for some ideas.
License
MIT