所有图标位置:/themes/iconscss引用位置:/themes/icon.css可自行添加16*16的小图片放在icons中,icon.css代码添加即可例如:.icon-logo{ background:url('icons/logo.ico') no-repeat center cent...
分类:
其他好文 时间:
2015-11-17 09:30:10
阅读次数:
453
1.ng-init用于初始化数据,跟在$scope插入数据一样,但是在配合repeat指令时候比较有用: {{arrInner}}:{{outerIndex}}{{innerIndex}} 2.ng-controller当controller里面的回调是一个对象的写法的...
分类:
其他好文 时间:
2015-11-16 22:50:47
阅读次数:
199
$scope.pageNumberCount?=?10; <li??ng-repeat="i?in?pageNumberCount">
????<a?ng-click="clickPagination(i)">{{i}}</a>?<!--注意:这里的参数不能写成“{{i}}”-->
</li>...
分类:
Web程序 时间:
2015-11-14 16:39:51
阅读次数:
185
.index-bg{ background:url(img/index-bg-t.5344b19d.jpg) center center/cover no-repeat}比如上面这样ie8不能识别,连图也看不到了解决办法cssmin: { options : { com...
分类:
Web程序 时间:
2015-11-13 20:41:52
阅读次数:
261
<tr?ng-repeat="item?in?items">
????????<td>{{$index?+?1}}</td>
????????<td>{{item.name}}</td>
????????<td>{{item.price?|?currency}}</td>
????????<td><input?n...
分类:
其他好文 时间:
2015-11-13 16:00:13
阅读次数:
245
在MySQL存储过程的语句中有三个标准的循环方式:WHILE循环,LOOP循环以及REPEAT循环。还有一种非标准的循环方式:GOTO,不过这种循环方式最好别用,很容易引起程序的混乱,在这里就不错具体介绍了。这几个循环语句的格式如下:WHILE……DO……END WHILEREPEAT……UNTIL...
分类:
数据库 时间:
2015-11-11 11:30:25
阅读次数:
235
1、网页LOGO背景居中html{ background:#f5f7f9url(img/logo.png) no-repeat center center fixed; background-size:150px;}不要使用body,因为它的高度经常会比浏览器窗口的高度低
分类:
Web程序 时间:
2015-11-09 12:42:47
阅读次数:
225
background-repeat属性的定义和用法:设置或检索对象的背景图像如何铺排填充。必须先指定background-image属性。允许提供2个参数,如果提供全部2个参数,第1个用于横向,第二个用于纵向。如果只提供1个参数,则用于横向和纵向。特殊值repeat-x和repeat-y除外,因为r...
分类:
Web程序 时间:
2015-11-09 07:04:46
阅读次数:
202
border-image:url:(images/WhiteButton.png) 0 12 0 12 stretch stretch;“0 12 0 12”:按顺时针方向分别是上右下左边框的宽度,即上:0;右:12;下:0;左:12。stretch | repeat | round 即为除去边框后...
分类:
其他好文 时间:
2015-11-08 22:30:35
阅读次数:
285
先科普一下背景图片的定位:http://www.php100.com/html/webkaifa/DIV_CSS/2009/0315/2440.html所以background的居中代码就是:background:url(tu.png) no-repeat center center;有的时候会遇到...
分类:
其他好文 时间:
2015-11-06 14:36:20
阅读次数:
206