File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,13 +15,23 @@ This plugin makes possible showing different numbers of items in your Bootstrap
1515
1616##Usage
1717
18- Firs of all, you'll want to include js and css files into your html code :
18+ First of all, you'll want to link the flexible-bootstrap-carousel. js and flexible-bootstrap-carousel. css files to your web-page :
1919
2020``` html
2121<link rel =" stylesheet" type =" text/css" href =" css/flexible-bootstrap-carousel.css" />
2222<script type =" text/javascript" src =" js/flexible-bootstrap-carousel.js" ></script >
2323```
2424
25+ Instead of linking the flexible-bootstrap-carousel.css file to your web-page you can include in your main style sheet the next css rule:
26+
27+ ``` css
28+
29+ .carousel.flexible .items {
30+ display : none ;
31+ }
32+
33+ ```
34+
2535To initiate the plugin you just need to add a * .flexible* class name to some Bootstrap carousel in your html code
2636
2737``` html
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " flexible-bootstrap-carousel" ,
3+ "main" : " flexible-bootstrap-carousel.js" ,
4+ "homepage" : " https://github.com/DanDevG/flexible-bootstrap-carousel" ,
5+ "authors" : [
6+ " Dan Dev <dan.dev.mail@gmail.com>"
7+ ],
8+ "description" : " Flexible Bootstrap Carousel plugin" ,
9+ "license" : " MIT" ,
10+ "dependencies" : {
11+ "jquery" : " >=1.11.1" ,
12+ "bootstrap" : " >=3.0.0"
13+ },
14+ "ignore" : [
15+ " **/.*" ,
16+ " node_modules" ,
17+ " bower_components" ,
18+ " **/.*" ,
19+ " examples" ,
20+ " README.md" ,
21+ " *.log" ,
22+ " .*" ,
23+ " LICENSE.md"
24+ ]
25+ }
Original file line number Diff line number Diff line change 4444 padding : 20px 0 50px 0 ;
4545 }
4646
47+ .carousel .flexible .items {
48+ display : none;
49+ }
50+
4751 # complicated-content-carousel .carousel-control {
4852 position : absolute;
4953 top : -20px ;
You can’t perform that action at this time.
0 commit comments