自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 CSS文本溢出显示省略号

overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical; 

2018-07-30 16:52:05 100

原创 highchars禁止点击数据并且不显示弹框

tooltip: { enabled: false},plotOptions: { series: { allowPointSelect: false }} 

2018-07-28 15:46:03 628

原创 JS局部变量可见区域

 

2018-07-28 14:36:53 269

原创 简洁的单选框/复选框CSS样式

效果图:HTML: <div> <div style="position: relative;display: inline-block"> <input type="radio" name="riado1" value="1" class="chose" checked="checked&q

2018-07-28 14:21:48 229

原创 js移除input单选框(radio)选中效果

上午做类似于这样一个单选框效果,需要把弹窗内单选框后的文本赋值到弹窗父页面。可是在js中移除最开始是这么做的。$('.chose-box-li').children('input').attr('checked', 'true')$(this).children('input').attr('checked', 'true');看上去好像没什么问题,可是在开发者模式中查看:...

2018-07-28 14:11:58 9497

原创 小程序util.arrayRemoveRepeat is not a function

在小程序util.js中加了一个arrayRemoveRepeat方法,使用时候报错了 解决方法,在util.js中的module.exports中加上一行就可以了。

2018-07-17 15:50:05 596

转载 iframe高度自适应

今天页面需求iframe自适应子页面高度,亲测下面Jquery方法有效。父页面(有iframe的页面)$("#iframe").load(function () { var mainheight = $(this).contents().find("body").height() + 80; $(this).height(mainheight);});子页面(iframe加载的内...

2018-07-05 17:49:10 184

原创 fixed定位div水平垂直居中

定位为fixed的是保存成功提示,需要设置width和height。.store-success { position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 99999; margin: auto; width: 80px; height: 20px; ...

2018-07-05 17:45:50 5233

原创 css 简单进度显示条

效果图HTML:<div class="bar"> <div class="blue percent" style="width: 27.61%"></div></div>CSS:.content .question-box .question .answer-table td .bar { display: inlin

2018-07-03 10:11:15 234

原创 css圆角表格

 在设置完四个角的<td>标签border-radius后设置<table>标签的border-radius无效,还是直角的情况。修改border-collapse: collapse为separate即可。  .content .question-box .question .answer-table { display: tab...

2018-07-03 10:07:02 3650 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除