.page3_ship{ background:url(../image/boat_02.png) 0 center no-repeat; background-size: 486px 385px; position:absolute;bottom:0;left:50%;margin-left:-1 ...
分类:
其他好文 时间:
2017-06-12 11:50:29
阅读次数:
151
1、首先来画个菱形玩玩,很多人学C时在书上都画过,咱们用PHP画下,画了一半。 思路:多少行for一次,然后在里面空格和星号for一次。 ? 1 2 3 4 5 6 <?php for($i=0;$i<=3;$i++){ echo str_repeat(" ",3-$i); echo str_rep ...
分类:
编程语言 时间:
2017-06-12 10:33:48
阅读次数:
247
priority_queue 优先级队列是一个拥有权值概念的单向队列queue,在这个队列中,所有元素是按优先级排列的(也可以认为queue是个按进入队列的先后做为优先级的优先级队列——先进入队列的元素优先权要高于后进入队列的元素)。在计算机操作系统中,优先级队列的使用是相当频繁的,进线程调度都会用 ...
分类:
其他好文 时间:
2017-06-12 00:55:11
阅读次数:
369
原则1: DRY 不做重复的事(Don't Repeat Yourself) 降低可管理单元复杂度的一个基本策略就是将他们拆解成更小的单元。 DRY原则指出,这些小的业务模块在你整个系统中能且只能出现一次。在一个系统内,每个知识必须有单一的,明确的,权威的呈现。 原则2: KISS 保持简单直接(K ...
分类:
其他好文 时间:
2017-06-11 13:03:08
阅读次数:
227
样式属性 [注:黑色加粗部分比较重要,要留心】 一.背景: background-color:背景色 * background-image:url(路径) 背景图片* background-repeat:背景图片的平铺方式 其中包括 no-repeat,不平铺;repeat,平铺;repeat-x, ...
分类:
其他好文 时间:
2017-06-10 22:42:01
阅读次数:
352
widthheightbackground color 背景颜色background image 背景图片 background repeat 背景图片平铺background position 背景图片位置 top bottom left right background-attachment 背 ...
分类:
其他好文 时间:
2017-06-10 21:36:24
阅读次数:
193
1、大小:width:宽;heigh:高 2、背景:1)background-color:背景颜色 2)background-image:背景图片url路径 3)background-repeat:图片的平铺方式。no-repeat:不平铺,repeat:平铺,repeat-x:水平平铺,repea ...
分类:
Web程序 时间:
2017-06-10 18:20:28
阅读次数:
270
000-- Euclidean algorithm running result: 001-- Decimal to Bin: Running result: 002-- DRY principle : Don't Repeat Yourself 003-- using a tupel as a p ...
分类:
编程语言 时间:
2017-06-10 00:31:16
阅读次数:
150
$scope.func = function(thisIndex,preIndex){ var thisIndexDataName = $scope.dataList[thisIndex].dataName;//当前这条数据对应dataName var preIndexDataName = $sco... ...
分类:
其他好文 时间:
2017-06-09 14:06:48
阅读次数:
135
原文:http://www.cocoachina.com/ios/20160919/17595.html 一、三种计时器 二、全局倒计时 ...
分类:
移动开发 时间:
2017-06-09 12:38:26
阅读次数:
233