码迷,mamicode.com
首页 >  
搜索关键字:repeat    ( 2408个结果)
添加aimate动画
.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
PHP 算法
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 优先级队列
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
0610背景与前景
样式属性 [注:黑色加粗部分比较重要,要留心】 一.背景: 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
css样式,边界和边框,格式和布局
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
hausaufgabe--python 17- Function definition
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
angular $index获取ng-repeat的上一条数据
$scope.func = function(thisIndex,preIndex){ var thisIndexDataName = $scope.dataList[thisIndex].dataName;//当前这条数据对应dataName var preIndexDataName = $sco... ...
分类:其他好文   时间:2017-06-09 14:06:48    阅读次数:135
iOS 计时器三种定时器的用法NSTimer、CADisplayLink、GCD
原文:http://www.cocoachina.com/ios/20160919/17595.html 一、三种计时器 二、全局倒计时 ...
分类:移动开发   时间:2017-06-09 12:38:26    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!