08 2017 档案
摘要:jquery 获取前两个table里的每个tr里面的第二个td$("table:lt(2)>tbody>tr td:nth-child(2)) $("table:lt(2)>tbody>tr").children('td:nth-child(2)');
阅读全文
摘要:点击左右按钮 进行左右切换 一次滑动一个li的宽度$(function(){ var num1=0; var num2=0;$(".timer span").click(function(){ var index1=$(this).index(); if(index1==0){ /* ul往左移动*
阅读全文
摘要:background: -webkit-linear-gradient(top, #0e3757 42%, #022743 58%,#022743 100%);
阅读全文
摘要:1、文字与单词间距,样式加这个:letter-spacing:20PX (这是字符与字符,对中 英 适用);2、单词与单词间距,样式加这个:word-spacing :20PX (这是单词与单词); 微软雅黑字体设置其font-weigth:bold 在ie浏览器上无效果; 可以试着改变其字体
阅读全文
摘要:4. ie8不支持点击事件怎么办 把引用的jquery文件换成 在ie8以下怎么表示 在html head与head之间 以下这段代码就表示在ie8浏览器下 footer的颜色值为white
阅读全文
摘要:使用a标签点击事件时 把href 属性去掉就可以正常点击,如果带href的话 就要阻止默认事件 event.preventDefault() 但这样在火狐浏览器中不起作用。
阅读全文
摘要:<div class="dark"> <div class="stars"></div> <div class="stars2"></div></div> .stars2 { width: 2px; height: 2px; background: transparent; box-shadow:
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title></head><body><select id="province" runat="server" onchange="selectprovince
阅读全文