摘要: 一、选择网页元素jQuery的基本设计和主要用法,就是"选择某个网页元素,然后对其进行某种操作"。这是它区别于其他函数库的根本特点。使用jQuery的第一步,往往就是将一个选择表达式,放进构造函数jQuery()(简写为$),然后得到被选中的元素。选择表达式可以是CSS选择器:1 $(documen... 阅读全文
posted @ 2015-12-17 18:05 1292032008 阅读(782) 评论(0) 推荐(0) 编辑
摘要: CSS3background-size 属性div{background:url(bg_flower.gif);-moz-background-size:63px 100px; /* 老版本的 Firefox */background-size:63px 100px;background-repea... 阅读全文
posted @ 2015-12-17 18:00 1292032008 阅读(118) 评论(0) 推荐(0) 编辑
摘要: CSS书写顺序1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- text... 阅读全文
posted @ 2015-12-17 17:59 1292032008 阅读(167) 评论(0) 推荐(0) 编辑
摘要: article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body,button,input,select,textarea{font:12px/1.5 tahoma,ari... 阅读全文
posted @ 2015-12-17 17:31 1292032008 阅读(1257) 评论(0) 推荐(0) 编辑