🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
``` Create: 2015年8月25日 下午1:55 Version:1.0.0 Author:Vace(ocdo@qq.com) ``` [TOC] ####使用方法 `<wx:csscdn name="" version="" />` * `name` {必须} 需要引入的js版本库,多个请用逗号分隔,如`name="bootstrap,animate"` * `version` {可选} 引入的版本号,如果引入多个,需要和name保持数量一致,如果需要使用默认值,请使用`default`关键字,如 `version="1.1.1,2.0.1"`; ####应用例子 #####引入最新版本的bootstrap和animate **例1: 引入 bootstrap ,animate** ``` <!--引用jscdn库,无版本限制--> <wx:csscdn name="bootstrap,animate" /> <!--效果--> <!--csscdn:[bootstrap,animate];--> <link rel="stylesheet" href="http://cdn.staticfile.org/twitter-bootstrap/3.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.4.0/animate.css"> ``` **例2: 引入 bootstrap3.2.1 , animate.default** #####引入的bootstrap3.1.1和最新版本的animate ``` <!--引用jscdn库,无版本限制--> <wx:csscdn name="bootstrap,animate" version="3.1.1,default"/> <!--效果--> <!--csscdn:[bootstrap,animate];--> <link rel="stylesheet" href="http://cdn.staticfile.org/twitter-bootstrap/3.1.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.4.0/animate.css"> ``` ####当前可用库列表 ``` ["bootstrap","animate","semantic","normalize"] ```