jquery-imagefit
所属分类:JavaScript/JQuery
开发工具:Ruby
文件大小:4KB
下载次数:0
上传日期:2012-08-06 18:19:22
上 传 者:
sh-1993
说明: 将图像固定在容器的中心位置。
(Fit an image tied & centered in his container.)
文件列表:
jquery-imagefit-gh-pages (0, 2012-08-07)
jquery-imagefit-gh-pages\MIT-LICENSE.txt (1106, 2012-08-07)
jquery-imagefit-gh-pages\Thorfile (2684, 2012-08-07)
jquery-imagefit-gh-pages\jquery-imagefit.js (1232, 2012-08-07)
jquery-imagefit-gh-pages\public (0, 2012-08-07)
jquery-imagefit-gh-pages\public\index.html (2356, 2012-08-07)
jquery-imagefit-gh-pages\public\jquery-imagefit-min.js (402, 2012-08-07)
# jquery-imagefit
Fit an image tied & centered in his container.
## How to use
```
$('your-selector').imagefit()
```
## Protips
* The container parent has to be absolute or relative positioned.
* You have to run this when your image is fully loaded. You can use async loading or use the [imagesLoaded plugin](https://github.com/desandro/imagesloaded) to check.
近期下载者:
相关文件:
收藏者: