码迷,mamicode.com
首页 >  
搜索关键字:width    ( 32014个结果
改变状态栏和导航栏的透明度
步骤一: 为UIImage类添加静态方法: extension UIImage { static func imageWithColor(color: UIColor) -> UIImage { let rect = CGRect(x: 0, y: 0, width: 1, height: 1) UIGraphicsBegin...
分类:其他好文   时间:2015-07-13 20:40:36    阅读次数:242
CSS3写常用的形状
正方形:1.square{width:100px;height:100px;background:#E57779;}长方形:1 .rectangle{ width: 200px;height: 100px; background: #E57779;}圆形:1 .circle{ width: 100p...
分类:Web程序   时间:2015-07-13 20:32:34    阅读次数:137
购物车悬浮 + 购物数量显示
上代码:html界面 99 css 样式.cart{position: fixed; width: 40px; height: 40px; line-height:40px;top:20px;right:20px; z-index: 99999; bord...
分类:其他好文   时间:2015-07-13 20:26:12    阅读次数:84
android手势
一丶首先创建一个手势库二丶手势实例布局文件:在布局文件中有:<android.gesture.GestureOverlayViewandroid:id="@+id/gv"android:layout_width="match_parent"android:layout_height="match_parent"android:background="#000000"android:gestureStrokeWidth="10"android:g..
分类:移动开发   时间:2015-07-13 18:54:47    阅读次数:136
[LeetCode][Java] Trapping Rain Water
题意: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example,  Given [0,1,0,2,1,0,1,3...
分类:移动开发   时间:2015-07-13 18:40:16    阅读次数:119
.Net学习笔记----2015-07-13(表格相关属性介绍及HTML小练习)
·bgcolor:背景颜色 border:边框bordercolor:边框颜色 cellspacing单元格与内容之间的间隔width: height:align valign bgcolor width height colspan rowspan1、分别使用显示歌曲列表,用a,b...
分类:Web程序   时间:2015-07-13 15:27:23    阅读次数:117
文字溢出省略号
大家应该都知道用text-overflow:ellipsis属性来实现单行文本的溢出显示省略号(…)。当然部分浏览器还需要加宽度width属性。overflow: hidden;text-overflow: ellipsis;white-space: nowrap;但是这个属性并不支持多行文本溢出显...
分类:其他好文   时间:2015-07-13 15:25:02    阅读次数:118
HTML知识点
1. 首页布局// 顶部DIV#top{ position:absolute; top:0; left:0; width:100%; height:15%; overflow:hidden; margin-top:1 1 1 1;}.pp{ width...
分类:Web程序   时间:2015-07-13 13:52:08    阅读次数:134
ext4 下拉树
调用js:{ xtype: 'treecombox', fieldLabel : '科室名称', itemId : 'deptId', width: 400, labelWidth: 60, displayField: 'text', minPickerHeight: 3...
分类:其他好文   时间:2015-07-13 12:02:08    阅读次数:95
as.3通过SWF元数据控制舞台的高度与宽度
package { importfl.controls.Label; importfl.controls.TextInput; importflash.display.Sprite; importflash.events.Event; [SWF(backgroundColor=‘0x00FF00‘,width=‘400‘,height=‘400‘,frameRate=‘29‘)] publicclassMainextendsSprite { privatevaruserName..
分类:其他好文   时间:2015-07-12 21:50:09    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!