摘要:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{margin: 0;padding: 0;} #box{width: 350px;height: 350px; 阅读全文
摘要:
/*滚轮事件函数封装*/ Object.prototype.onmousewheelhandlefun=function(handle){ var info=navigator.userAgent; var down=null; if(info.indexOf("Firefox")!=-1){ th 阅读全文
摘要:
查看,添加,提交,删除,找回,重置修改文件 git help <command> #command的help git show #显示某次提交的内容 git show $id git co--<file> #抛弃工作区修改 git co. #抛弃工作区修改 git add--<file> #将工作文 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <ul id="ul"> <li>我是标签一</li> <li>我是标签二</li> <li>我是标签三</li> <li>我是标签四 阅读全文
摘要:
最近找工作被问到了jquery有哪些事件监听,都有什么区别,忽然有点想不起来了。。。 然后上网上查看了相关的资料,总结一下,方便大家查看,也方便自己复习! 1.bind()方法: bind(type,[data],function(event)); 参数:type:事件类型; data:传入监听函数 阅读全文
摘要:
直接上手一个可以拷贝使用的例子吧。<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> body, html 阅读全文
摘要:
整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$只能输入数字:"^[0-9]*$"。只能输入n位的数字:"^\d{n}$"。只能输入至少n位的数字:"^\d{n,}$"。只能输入m~n位的数字:。"^\d{m,n}$"只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$" 阅读全文
摘要:
<style> body{ background:black; overflow:hidden; transform-style:preserve-3d; } .container{ width:100px; height:100px; position:absolute; transform-st 阅读全文
摘要:
1.DOCTYPE 影响 CSS 处理; 2.火狐 谷歌等浏览器 设置 padding 后, div 会增加 height 和 width, 但 IE 不会, 故需要用 !important 多设一个 height 和 width 3.火狐 谷歌等浏览器支持 !important, IE 则忽略, 阅读全文
摘要:
1.检出: svn co http://路径[目录过文件的全路径][本地目录全路径]--username 用户名--password 密码; svn co scn://路径[目录或文件的全部路径][本地目录全路径]--username 用户名--password密码; svn checkout ht 阅读全文