Skip to content

Commit e2e394b

Browse files
committed
First release
1 parent c70b4ad commit e2e394b

16 files changed

+3800
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
/node_modules
2+
yarn-error.log

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/docs
2+
/scripts
3+
/src

LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Lucas Yang <yangchenshin77@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,68 @@
1-
# Bootstrap 4 Steps
1+
# Bootstrap Steps
22

33
[![npm version](https://badge.fury.io/js/bootstrap-steps.svg)](https://badge.fury.io/js/bootstrap-steps)
44

5-
A simple Bootstrap 4 steps plugin, support mobile client.
5+
A simple Bootstrap steps plugin, support mobile client.
66

7-
## Example
7+
## Demo
88

9-
https://ycs77.github.io/bootstrap-steps/
9+
See [Demo](https://ycs77.github.io/bootstrap-steps/).
10+
11+
## Getting started
12+
13+
Must include [Bootstrap](https://getbootstrap.com/).
14+
15+
### Installation
16+
17+
```
18+
$ npm install bootstrap-steps
19+
```
20+
or
21+
```
22+
$ yarn add bootstrap-steps
23+
```
24+
25+
*bootstrap.scss*
26+
```
27+
...
28+
@import "~bootstrap-steps/scss/bootstrap-steps";
29+
```
30+
31+
In browser:
32+
```html
33+
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"><!-- Bootstrap is required -->
34+
<link href="/path/to/bootstrap-steps.css" rel="stylesheet">
35+
```
36+
37+
### Usage
38+
39+
```html
40+
<div class="steps-scroll">
41+
<ul class="steps">
42+
<li class="step step-success">
43+
<div class="step-content">
44+
<span class="step-circle">1</span>
45+
<span class="step-text">Step 1</span>
46+
</div>
47+
</li>
48+
<li class="step step-active">
49+
<div class="step-content">
50+
<span class="step-circle">2</span>
51+
<span class="step-text">Step 2</span>
52+
</div>
53+
</li>
54+
<li class="step">
55+
<div class="step-content">
56+
<span class="step-circle">3</span>
57+
<span class="step-text">Step 3</span>
58+
</div>
59+
</li>
60+
<li class="step">
61+
<div class="step-content">
62+
<span class="step-circle">4</span>
63+
<span class="step-text">Step 4</span>
64+
</div>
65+
</li>
66+
</ul>
67+
</div>
68+
```

dist/bootstrap-steps.css

Lines changed: 118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bootstrap-steps.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bootstrap-steps.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bootstrap-steps.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/bootstrap-steps.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)