• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
品格
博客园    首页    新随笔    联系   管理    订阅  订阅
2016年9月6日
js多行省略
摘要: $(function (){ // var $introduce = $(".c-introduce").html(); // $new_introduce = $introduce.substring(0,80); // $(".c-introduce").html($new_introduce+ 阅读全文
posted @ 2016-09-06 15:31 品格 阅读(313) 评论(0) 推荐(0)
多行省略号
摘要: var timer;$('.c-introduce').each(function(){ $(this).dotdotdot({ ellipsis:'...' })}) 阅读全文
posted @ 2016-09-06 15:29 品格 阅读(147) 评论(0) 推荐(0)
旋转
摘要: .product_acesure, .product_boxsure, .product_cloudsure, .product_docsure{ background: url("image/product.png") no-repeat 0 0; float:left; height: 100p 阅读全文
posted @ 2016-09-06 11:28 品格 阅读(140) 评论(0) 推荐(0)
浏览器双内核
摘要: 国内浏览器很多都是双内核(webkit和Trident),webkit内核高速浏览,IE内核兼容网页和旧版网站。而添加meta标签的网站可以控制浏览器选择何种内核渲染。<meta name="renderer" content="webkit|ie-comp|ie-stand"> 国内双核浏览器默认 阅读全文
posted @ 2016-09-06 11:26 品格 阅读(769) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3