css中按钮有四种状态 1. 普通状态2. hover 鼠标悬停状态3. active 点击状态4. focus 取得焦点状态 .btn:focus{outline:0;} 可以去除按钮或a标签点击后的蓝色边框 下面的例子中.btn1用focus按钮会按下,不弹起 .btn2用active按钮点击按 ...
分类:
Web程序 时间:
2017-12-08 01:15:47
阅读次数:
635
<style> .css2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 16em; } </style> 引用样式 <span class="css2" title="${ques.qcontent ...
分类:
其他好文 时间:
2017-12-04 19:09:42
阅读次数:
166
collectionView 实现header 悬浮置顶效果,和tableviewheaderView效果 ...
分类:
移动开发 时间:
2017-11-30 16:18:03
阅读次数:
309
border: 1px solid #000000 表格要边框不要内部的线 A标签禁止跳转,执行javascript的方法 href="javascript:void(0)" onclick="javascript:$('#dd').dialog('close')" 输入框不可编辑: 方法1: on... ...
分类:
编程语言 时间:
2017-11-19 16:34:03
阅读次数:
219
Vue 声明式渲染1: {{message}} 声明式渲染2: 鼠标悬停几秒钟查看此处动态绑定的提示信息! 条件与循环1: 现在你看到我了! 条件与循环2: {{todo.text}} 处理用户输入1: ... ...
分类:
Web程序 时间:
2017-11-18 21:04:14
阅读次数:
258
1.Ctrl+Q 快捷键 2.File->Setting->Editor -> General ->Other -> 勾选 Show quick documentation on mouse move ...
分类:
移动开发 时间:
2017-11-15 23:50:18
阅读次数:
438
代码转载:http://blog.csdn.net/u014175572/article/details/51535768 示例: transition: all 0.6s;表示所有的属性变化在0.6s的时间段内完成。 transform: scale(1.4);表示在鼠标放到图片上的时候图片按比例 ...
分类:
其他好文 时间:
2017-11-14 19:43:15
阅读次数:
154
HTML: css: js stop()事件用来阻止动画一直运行。 ...
分类:
移动开发 时间:
2017-11-10 18:42:12
阅读次数:
222
针对页面上的二级菜单,需要鼠标悬停才能进行操作。 /** * Clicks (without releasing) in the middle of the given element. This is equivalent to: * <i>Actions.moveToElement(onElem ...
分类:
其他好文 时间:
2017-11-09 14:44:06
阅读次数:
223