一、创建组件 Tooltip不依赖其他组件 1.使用class加载 2.使用js加载 <a id="dd" href="javascript:void(0)">Click here</a> 选择创建,方法使用格式; $('#dd').tooltip({ position: 'right', cont ...
分类:
其他好文 时间:
2017-09-30 17:56:44
阅读次数:
182
1.border-color就是color,即border-color的默认颜色就是color 当没有指定border-color的时候,会使用color作为边框的颜色! 类似的还有text-shadow,box-shadow 2. (1)只要一个color hover变化,就可以一起变色 (2)t ...
分类:
其他好文 时间:
2017-09-28 16:54:02
阅读次数:
215
主要参考:http://www.cnblogs.com/houkai/p/3394402.html 代码插入到【管理】-->【设置】-->【博客设置】-->【页面定制CSS代码】中: .postTitle { background: -webkit-gradient(linear, 0 0, 0 1 ...
分类:
其他好文 时间:
2017-09-28 11:35:10
阅读次数:
234
let hover = thisObj.time.substring(0, thisObj.time.indexOf(':'))let minutes = thisObj.time.substring(thisObj.time.indexOf(':') + 1)let dateHover = thi ...
分类:
其他好文 时间:
2017-09-27 17:39:44
阅读次数:
164
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> * { margin: 0px; padding: 0px; } #stage { width: 400px; height: 40px; bord ...
分类:
Web程序 时间:
2017-09-27 17:34:49
阅读次数:
240
1、"first-line" 伪元素用于向文本的首行设置特殊样式。只能用于块级元素 1、"first-letter" 伪元素用于向文本的首字母设置特殊样式。只能用于块级元素 3、":before" 伪元素可以在元素的内容前面插入新内容。 4、":after" 伪元素可以在元素的内容之后插入新内容。 ...
分类:
其他好文 时间:
2017-09-26 17:50:21
阅读次数:
168
b这一类的元素都是a的同级元素并且是a元素之后的就可以a:hover~b{....} 附上我自己的代码: ul li a img:hover ~h3 { padding-bottom: 10px; color: #25AAFF!important; border-bottom: 2px solid ...
分类:
其他好文 时间:
2017-09-25 17:30:47
阅读次数:
132
1、以某一个height为100%的元素为相对定位元素,绝对定位到底部 或者 将元素的位置设置为 position:fixed; 总之,写一个好看的按钮在下面,可以用图片(灰白色)、 在hover的时候讲position属性改变为彩色的向上点击按钮、 2、监听滚动事件,在滚动至底部的时候才会出现、顶 ...
分类:
其他好文 时间:
2017-09-25 11:39:53
阅读次数:
130
html js 图片: 效果: 2017-09-25 09:44:24 ...
分类:
Web程序 时间:
2017-09-25 11:31:07
阅读次数:
182
a:link {color: #000000; text-decoration: underline;} a:visited {color: #000000; text-decoration: underline;} a:hover {color: #FF0000; text-decoration: ...
分类:
其他好文 时间:
2017-09-25 00:46:41
阅读次数:
221