A simple Bootstrap steps plugin, support mobile client.
See Demo.
Must include Bootstrap 4.
Install Bootstrap steps package:
$ npm install bootstrap-steps
or
$ yarn add bootstrap-steps
Import to your scss file and build:
@import'~bootstrap/scss/bootstrap';
@import'~bootstrap-steps/scss/bootstrap-steps';Or use CDN:
<linkrel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous"><!-- Bootstrap is required --><linkrel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-steps@%5E1.0/dist/bootstrap-steps.min.css"><ulclass="steps"><liclass="step step-success"><divclass="step-content"><spanclass="step-circle">1</span><spanclass="step-text">Step 1</span></div></li><liclass="step step-active"><divclass="step-content"><spanclass="step-circle">2</span><spanclass="step-text">Step 2</span></div></li><liclass="step"><divclass="step-content"><spanclass="step-circle">3</span><spanclass="step-text">Step 3</span></div></li><liclass="step"><divclass="step-content"><spanclass="step-circle">4</span><spanclass="step-text">Step 4</span></div></li></ul>If you think this package has helped you, please consider Becoming a sponsor to support my work~ and your avatar will be visible on my major projects.
