https://github.com/gueff/pagshrink
jquery plugin for Bootstrap 4: auto shrinks pagination (responsive)
https://github.com/gueff/pagshrink
bootstrap4 javascript jquery jquery-plugin
Last synced: 6 months ago
JSON representation
jquery plugin for Bootstrap 4: auto shrinks pagination (responsive)
- Host: GitHub
- URL: https://github.com/gueff/pagshrink
- Owner: gueff
- Created: 2019-11-25T21:19:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-25T21:51:36.000Z (about 6 years ago)
- Last Synced: 2025-03-31T02:44:08.530Z (9 months ago)
- Topics: bootstrap4, javascript, jquery, jquery-plugin
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pagShrink
jquery plugin for Bootstrap 4: auto shrinks pagination (responsive)
## usage
make sure by CSS that all anchor `` items beneath `` have same dimensions of `width`and `height`.
_example css_
~~~css
.page-link {
min-width: 48px !important;
width: 48px !important;
height: 35px;
text-align: center;
float: left;
}
~~~
_activate_
~~~js
$('.pagination').pagShrink();
~~~
_html_
~~~html
-
whatever...
...
...
~~~