New Document
div{
margin:20px;
}
Oscar Redemption
Here`s your chance to set the record straight:tell us what year the wrong film got nominated,and which film shouldhave received a n...
分类:
Web程序 时间:
2015-01-10 21:06:49
阅读次数:
135
jsonp 全称是JSON with Padding我们大家都知道ajax是不能发起跨域请求,现在可以通过jsonp来弥补ajax的这一缺陷通过script标签的src属性就可以实现跨域请求。如现在的互联网调优,引用goole,百度等的常用js文件,通过浏览器的缓存机制可以实现互联网调优。下面是原生...
分类:
Web程序 时间:
2015-01-10 21:02:27
阅读次数:
169
New Document
div{
margin-bottom:10px;
width:200px;
height:100px;
}
@keyframes myfirst
{
from {background: red;}
to {background: yellow;}
}
@-moz-keyframes myfirst /* Firefox */
{
from {background:...
分类:
Web程序 时间:
2015-01-10 11:19:52
阅读次数:
232
View myView = (View) findViewById(R.id...);// 获得组件的布局参数LayoutParams params = myView.getLayoutParams();// 这里比如要改变marginTop属性int newTopMargin = 100;para...
分类:
其他好文 时间:
2015-01-09 19:00:35
阅读次数:
150
New Document
div{
margin: 30px 0px 80px;
width: 200px;
height: 50px;
font-size: 18px;
font-weight: bold;
background: none repeat scroll 0% 0% #DEE4EE;
color: #305999;
text-align: center;
line-heigh...
分类:
Web程序 时间:
2015-01-08 21:39:44
阅读次数:
159
无标题文档
body{width:900px; height:600px;margin: 0px auto; }
body,ul,table,li,pre,dd,dt,tr,th,td,{padding:0px;border:0px; margin:0px;font-size: 14px;}
.container{text-align:center...
分类:
Web程序 时间:
2015-01-08 20:14:05
阅读次数:
264
转自http://unmi.cc/uilable-uitextfield-padding-insets主要是理解下UIEdgeInsets在IOS UI里的意义.靠,这货其实就是间隔,起个名字这么让人费解!!!正值表示间隔值,负值表示超出参照物的距离。------------------------...
分类:
其他好文 时间:
2015-01-08 17:34:26
阅读次数:
287
1. 逗号表示并列关系,空格表示层级关系://table 和 td应用此样式,tr并不应用此样式table, tr td { border: 1px solid grey; border-collapse: collapse; padding: 5px;}//表示table,tr和td都应用此...
分类:
Web程序 时间:
2015-01-08 16:57:09
阅读次数:
140
这里我直接上代码吧需要引入jquery或者zepto1、CSS主要是简单的加载进度样式<!--css-->
.loadPage{background:#007CC2;z-index:9999;width:100%;position:fixed;top:0;bottom:0;}
.loading{position:absolute;width:100%;left:0%;top:30%;margin:20pxauto;text-align:cen..
分类:
Web程序 时间:
2015-01-08 15:40:39
阅读次数:
145
New Document
p a{
font-size:20px;
display:block;
font-weight:bold;
background:#00aaFF;
color:#FFF;
width:200px;
padding:10px;
text-shadow:0px 1px #ccc;
border-radius:5px;
box-shadow: 5px 5px 5px hs...
分类:
Web程序 时间:
2015-01-07 22:12:26
阅读次数:
165