1、去除空格和字符串填补函数 1)ltrim():去除左边的空格。 2)rtrim():去除右边的空格 3)trim():去除字符串首位处的空白字符。 4)str_pad():使用另一个字符串填充字符串为制定长度。 5)str_repeat():重复一个字符串。 2、字符串大小写转换 1)strto ...
分类:
其他好文 时间:
2017-06-09 11:15:43
阅读次数:
176
1.背景颜色:backgound-color 2.背景图像:backgound-image 3.背景重复方式:backgound-repeat 4.背景定位:backgound-position 值 含义 xpos ypos 单位:px. xpos表示水平位置 ypos表示垂直位置 x% y% 使用 ...
分类:
Web程序 时间:
2017-06-08 23:40:41
阅读次数:
207
1.背景颜色:backgound-color 2.背景图像:backgound-image 3.背景重复方式:backgound-repeat 4.背景定位:backgound-position 值 含义 xpos ypos 单位:px. xpos表示水平位置 ypos表示垂直位置 x% y% 使用 ...
分类:
Web程序 时间:
2017-06-08 20:34:27
阅读次数:
140
.filter('to_trusted', ['$sce',function ($sce) { return function (text) { return $sce.trustAsHtml(text); } }]) ...
分类:
其他好文 时间:
2017-06-08 18:07:20
阅读次数:
158
<!DOCTYPE HTML> <head> <style type="text/css"> body { background: #ff0000 url(img/QQ图片20150821075230.ico) no-repeat fixed center ; //no-repeat fixed c ...
分类:
Web程序 时间:
2017-06-08 10:33:34
阅读次数:
229
通常情况下。我们在使用数组(Array)或字典(Dictionary)时会使用到下标。事实上在Swift中。我们还能够给类、结构、枚举等自己定义下标(subscript)。 一、基本使用 struct TimesTable { let multiplier: Int subscript(index: ...
分类:
编程语言 时间:
2017-06-07 21:04:55
阅读次数:
189
1 what is an architectural pattern? An architectural pattern is a pacakge of decisions that is found repeatedly in practice has known properties that ...
分类:
其他好文 时间:
2017-06-07 20:50:46
阅读次数:
143
> .time-bgimg01 { background-image: url('../../images/personal/carlist/timeIcon.png'); background-size: auto 18px; background-repeat: no-repeat; backg ...
分类:
其他好文 时间:
2017-06-07 17:02:34
阅读次数:
193
background:在一个声明中设置所有背景属性 body{background:#00FF00 url(bgimage.gif) no-repeat fixed top;} background-attachment:背景图像是否固定或者随着页面的其余部分滚动。 background-color ...
分类:
Web程序 时间:
2017-06-07 10:00:59
阅读次数:
176
1.背景颜色:backgound-color 2.背景图像:backgound-image 3.背景重复方式:backgound-repeat 4.背景定位:backgound-position 值 含义 xpos ypos 单位:px. xpos表示水平位置 ypos表示垂直位置 x% y% 使用 ...
分类:
Web程序 时间:
2017-06-06 22:05:38
阅读次数:
151