document.documentElement.clientWidth:取得浏览器页面可视区域的宽度document.documentElement.clientHeight:取得浏览器页面可视区域的高度screen.width:取得屏幕宽度screen.height:取得屏幕高度screen.a...
分类:
其他好文 时间:
2015-07-07 22:41:21
阅读次数:
163
1,mobile_signal_group.xml
.....
android:id="@+id/mobile_combo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
android:id="@+id/mobile_signal"
android:layout_hei...
分类:
移动开发 时间:
2015-07-07 21:19:16
阅读次数:
175
html代码 在线 相关css.left_item { width: 30%; height: 100%; display: inline-block; box-sizing: border-box; vertical-align: middle;}.rig...
分类:
其他好文 时间:
2015-07-07 19:24:21
阅读次数:
144
1.媒体查询可以在链接link标签和具体的CSS中使用;2.通过标签的 media 属性为样式表指定设备类型和其他条件中间用and和()来分隔,如下 3.视口宽度(width) 屏幕宽度(device-width)前者指没有工具栏的宽度(完完全全展示网页内容的部分)后者指屏幕的宽度或者分辨率4.--...
分类:
Web程序 时间:
2015-07-07 19:07:03
阅读次数:
149
转载请注明出处:王亟亟的大牛之路
运行效果
如何使用?
在布局XML里引用即可,如下: <com.mingle.BouncyEditText
android:layout_width="fill_parent"
android:hint="账号"
android:text="255"
android:layout_height="wrap...
分类:
其他好文 时间:
2015-07-07 17:05:32
阅读次数:
196
Transform根据我的理解,transform和width、height、background一样,都是dom的属性,不同的是它是css3旗下的,比较屌,能够对原来的dom元素进行移动、缩放、转动、拉长或拉伸,跟canvas上的某些api神似,这么说来transform好像能干些js才能干的事。...
分类:
Web程序 时间:
2015-07-07 16:33:26
阅读次数:
212
css .bgAudio{width:27px;height:27px;position:fixed;right:10px;top:10px;z-index:999;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:none;-webkit-tr.....
分类:
微信 时间:
2015-07-07 16:20:10
阅读次数:
1733
直接上图,类似相册的效果。 两张图都是隐藏了statusbar(状态栏),第一张显示toolbar,窗体背景为白色,第二张隐藏toolbar,窗体背景为黑色。(第一张的下面就是一个layout_width="fill_parent" 的textview,点击是隐藏) 首先,statusb...
1 #import "RootViewController.h" 2 3 #define width [UIScreen mainScreen].bounds.size.width 4 #define heigthY 150 5 6 @interface RootViewController ...
分类:
其他好文 时间:
2015-07-07 16:09:53
阅读次数:
122
昨晚用CSS3实现了几种常见的Loading效果,虽然很简单,但还是分享一下,顺便也当是做做笔记……PS:如需转载,请注明出处!第1种效果:代码如下: .loading{ width: 80px; ...
分类:
Web程序 时间:
2015-07-07 14:25:15
阅读次数:
92