码迷,mamicode.com
首页 >  
搜索关键字:no-repeat    ( 2408个结果
<PY><NumPy><SciPy>图像翻转切割遮罩
from scipy import misc import matplotlib.pyplot as plt lena=misc.lena();print lena.shape lena2=lena.repeat(3,axis=0).repeat(2,axis=1);print lena2.shape #resize plt.figure(0) plt.subplot(211) plt.imsh...
分类:其他好文   时间:2015-06-04 17:12:10    阅读次数:197
High Quality Coding
几条面向对象课上介绍的高质量代码写作原则: 1. Don't Repeat Yourself不要重复你自己,重复代码,类似代码都是问题的隐患。程序员为了能够节省时间,喜欢复制现成的代码,稍加修改制作自己的调用的函数(方法),这种做法将会把原有的问题复制一份,修改的时候也要修改两份。重复代码的问...
分类:其他好文   时间:2015-06-03 19:20:09    阅读次数:73
Format Characters
【Format Characters】 A format character may be preceded by an integral repeat count. For example, the format string '4h' means exactly the same as '...
分类:其他好文   时间:2015-06-03 13:38:05    阅读次数:123
HTML学习笔记之一(input文件选择框的封装)
方式一:直接透明隐藏 .file_button_container,.file_button_container input {background: transparent url(./img/BT5AB.png) left top no-repeat;height: 47px;width: 263px;} .file_button_contain...
分类:Web程序   时间:2015-06-02 22:02:24    阅读次数:341
侧导航运动
html========== Document 123123 css=======#box{width: 100px;height: 100px;background: red url() 0 0 no-repeat;position: absolute;bottom: 0;right: 0;...
分类:其他好文   时间:2015-05-30 22:35:10    阅读次数:224
从js的repeat方法谈js字符串与数组的扩展方法
js将字符串重复N次的repeat方法的8个版本/**@desc: 将一个字符串重复自身N次*///版本1:利用空数组的join方法function repeat(target, n) { return (new Array(n + 1)).join(target);}//版本2:之所以要创建...
分类:编程语言   时间:2015-05-30 17:52:56    阅读次数:198
css实现背景图片全屏
.index{ position: absolute; top:0; bottom:0; left:0; right:0; background:url(../images/cover-default-4_6743235.png) center no-repeat; background-size:...
分类:Web程序   时间:2015-05-30 12:10:55    阅读次数:142
angularjs初学之todoList练习
刚开始学ng,通过todo练习初步感受到ng框架的强大功能,记录下过程中出现的几个问题: 1、使用localStorage存储数据,序列化的时候使用angular.toJson,因为ng-repeat会在数组对象内部添加$$hashkey属性,使用JSON.stringify序列化不会过滤 2、练习用的是1.4版本的ng,网上很多示例是早期的版本,语法上有不少变化,琢磨了半天 引用了...
分类:Web程序   时间:2015-05-29 18:12:18    阅读次数:223
基于AutoYaST自动化安装SuSE实践
前言在金融行业中我所接触的操作系统主要是AIX和SLES(SuSE Linux Enterprise Server),也许大家平时用得更多是CentOS,虽然有部分差异但原理都是相通的,SMIT和YaST也是灰常实用的功能,推荐大家有机会尝试体验下。因为网上关于SuSE自动化部署的参考文章较少,这套自动化部署方案已经被验证并在生产系统使用了1年半,配置相对成熟和稳定。遵循Don't Repeat Y...
分类:其他好文   时间:2015-05-28 12:39:59    阅读次数:364
CSS Sprite定位实现
何为CSS Sprite通常我们把它叫做CSS图像拼合技术,当然还有人把CSS Sprites叫做”CSS贴图定位”。原理CSS Sprites 原理:其实就是把网页中一些背景图片整合到一张图片文件中,再利用CSS的“background-image”,“background- repeat”,“background-position”的组合进行背景定位,background-position可以用...
分类:Web程序   时间:2015-05-27 21:11:55    阅读次数:3473
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!