css3新增的background-clip属性主要是对背景图片进行裁切的作用:background-clip:border-box || padding-box || context-box分别对边框,内边距,内容区域进行裁切,把多余的部分给裁切掉,有兼容性问题.拿w3cplus的文章代码过来:/...
分类:
Web程序 时间:
2014-08-13 12:53:46
阅读次数:
203
1 $("div") //标签 2 $(".box") //类 3 $("#box") //ID 4 $("a[href][name]") //多个属性 5 ...
分类:
其他好文 时间:
2014-08-12 18:49:04
阅读次数:
202
$('.F_box_2').hover( function(){ $(this).find(".make_reply").css({"color":"#c00","text-decoration":"underline","background-position":"12px -147px"}); ...
分类:
其他好文 时间:
2014-08-12 18:29:54
阅读次数:
189
My testing environment:Windows Server 2012 R2 Essentials:With AD and standalone DC in one single box.Ubuntu:ubuntu-12.04.1-desktop-amd64Basically, I w...
基本理解jQuery.attr是jQuery.attr,jQuery.prop,jQuery.css提供底层支持,jQuery里一个比较有特色的地方就是函数的重载, 比如attr,有如下几种重载$('#box').attr('title')$('#box').attr('title','标题')$(...
分类:
数据库 时间:
2014-08-11 17:38:02
阅读次数:
319
这道题是个细节实现题,只要把valid sudoku满足的三个条件判断一下即可。valid sudoku需满足下列三个条件:1)每一行数字1~9有且只出现一次。2)每一列数字1~9有且只出现一次。3)对于每个3*3的sub-box(用i=3、6,j=3、6两条线划分,总共9个sub-box)数字1~...
分类:
其他好文 时间:
2014-08-10 23:57:10
阅读次数:
431
Use the General, Text Editor, Options Dialog Box to customize the appearance and functionality of the Text and Code editor. You can set Text Editor op...
分类:
其他好文 时间:
2014-08-10 08:07:49
阅读次数:
177
软件测试方法种类繁多,记忆起来混乱,如果把软件测试方法进行分类,就会清晰很多。我参考一些书籍和网上的资料,把常用的软件测试方法列出来,让大家对软件测试行业有个总体的看法。 一、从测试设计方法分类测试名称测试内容Black box黑盒测试把软件系统当作一个“黑箱”,无法了解或使用系统的内部结构...
分类:
其他好文 时间:
2014-08-09 00:05:26
阅读次数:
274
MFC的对话框非为两种,一种叫模态对话框(Modal Dialog Box,又叫做模式对话框),一种叫做非模式对话框(Modaless Dialog Box,又叫无模式对话框)。两者的区别在于当对话框打开的时候,是否允许用户进行其他对象的操作。...
分类:
其他好文 时间:
2014-08-07 23:05:45
阅读次数:
344
attribute和property这两个单词,都有属性的意思,attribute有属性、特质的意思,property则有性质,性能的意思。首先需要明确的是,在规范中,读取和设置attribute的方法是getAttribute/setAttribute/removeAttribute,比如box....
分类:
编程语言 时间:
2014-08-07 13:01:40
阅读次数:
292