<button type='button' style='border: 1px solid #eeeeee;color: #717070;height: 20px;border-radius: 3px;line-height: 18px;' class='button cbtn' onclick= ...
分类:
其他好文 时间:
2019-07-09 19:40:26
阅读次数:
145
使用border-radius:50%,或者border-radius的值与宽高相等,都可实现一个完美的圆形,但是在不同的安卓手机中,会有不同程度的变形(有的扁圆,有的大,有的小);当使用px做为宽高的单位,border-radius:50%画出来的圆是不会变形的;但使用rem时,rem在换算为px ...
分类:
移动开发 时间:
2019-07-09 09:15:39
阅读次数:
224
xmlns, xmlns:xsi, xsi:schemaLocation 解释xmlnsxsischemaLocation我们在写 xml 文件时,尤其是 spring 、mybatis 的配置文件时,经常会用到上 xmlns、xmlns:xsi、xsi:schemaLocation 等元素,但多数... ...
分类:
其他好文 时间:
2019-07-08 23:35:57
阅读次数:
93
// 弹出提示框 function popup(pWidth,content) { $("#msg").remove(); var html =''+ content +'' $("body").append(html); var t=setTimeout(next,2000); ... ...
分类:
Web程序 时间:
2019-07-08 13:24:45
阅读次数:
167
浏览器支持度 CSS3属性: columns:规定列的宽度和列数 默认宽度、列数值为auto column-width:每栏的宽度 column-gap :两栏之间的间距距离 column-count : 栏目的数目 column-rule : color(色值) width(宽度) style(线 ...
分类:
Web程序 时间:
2019-07-07 13:03:34
阅读次数:
226
1.安装swiper 2.在组件中引用 swiper 3.实例 ...
分类:
其他好文 时间:
2019-07-05 13:06:16
阅读次数:
143
题目描述 给出一个长度为N的非负整数序列A_i,对于所有1 ≤ k ≤ (N + 1) / 2,输出A1?,A3?,…,A2k?1?的中位数。即前1,3,5,…个数的中位数。 输入输出格式 输入格式: 第1行为一个正整数N,表示了序列长度。 第2行包含N个非负整数A_i (A_i ≤ 10^9)。 ...
分类:
其他好文 时间:
2019-07-01 19:52:14
阅读次数:
107
轮子(教程)1:https://www.cnblogs.com/keerdi/p/6141461.html 轮子2:https://www.cnblogs.com/derek1184405959/p/9018285.html 使用轮子1的方法添加照片后,想使用border radius来将图片的边缘 ...
分类:
其他好文 时间:
2019-07-01 15:52:16
阅读次数:
133
内容目录 使用canvas绘制弧线 使用canvas绘制圆形 在html5中,CanvasRenderingContext2D对象也提供了专门用于绘制圆形或弧线的方法,请参考以下属性和方法介绍: arc(x, y, radius, startRad, endRad, anticlockwise) 在 ...
分类:
Web程序 时间:
2019-06-28 14:49:48
阅读次数:
149
Member initialization in constructorsWhen a constructor is used to initialize other members, these other members can be initialized directly, without ...
分类:
编程语言 时间:
2019-06-23 22:40:26
阅读次数:
151