创建可读段落 jQuery 插件:Readable
jopen
9年前
Readable 是一个小的 jQuery 插件,它能使你的段落更具可读性。
示例代码:
<html> <head> <title>Your Website</title> <!-- readable styles --> <link rel="stylesheet" href="readable/readable.css"> </head> <body> <!-- your website here --> <!-- readable scripts --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script type="text/javascript" src="readable/readable.js"></script> </body> </html>