/*自适应按钮*/ button{ padding:.3em .8em; border:1px solid rgba(0,0,0,.1); background: #58a linear-gradient(hsla(0,0%,100%,.2),transparent); border-radius: ...
分类:
其他好文 时间:
2016-07-08 15:11:06
阅读次数:
123
一个很简单的用mask裁剪图片的效果: mask: 被裁剪图片: 正确的效果: 在小米2s上测,其中有一台小米2s出现花屏: 手机型号: shader如下: Shader "UI/Transparent Masked"{ Properties { _MainTex ("Base (RGB)", 2D ...
分类:
移动开发 时间:
2016-07-05 14:14:05
阅读次数:
293
span{ display: inline-block; border-top: 100px solid red; border-right: 100px solid transparent; border-bottom: 100px solid transparent; border-left: ...
分类:
Web程序 时间:
2016-06-27 15:20:56
阅读次数:
142
平行四边形: width: height: transform:skew(度数 deg) background: color 梯形: border-bottom:100px solid red border-left:50px solid transparent border-right:50px ...
分类:
其他好文 时间:
2016-06-26 23:57:21
阅读次数:
186
前两天在开发在微信访问的HTML5页面,里面有个订单查询要选择时间,刚开始使用的输入框,没加任何的样式,效果是白色的背景再加上边框很丑,完
全与整个背景不协调。
刚开始设置了输入框背景色透明(background-color:transparent;),在ios上面背景色和边框都没有了,但是在andriod上边框和背景色还是存在。后来加上样式FILTER: alpha(opacity=...
分类:
移动开发 时间:
2016-06-26 11:39:03
阅读次数:
309
Charles上的设置要截取iPhone上的网络请求,我们首先需要将Charles的代理功能打开。在Charles的菜单栏上选择“Proxy”->“Proxy Settings”,填入代理端口8888,并且勾上”Enable transparent HTTP proxying” 就完成了在Charl ...
分类:
移动开发 时间:
2016-06-21 12:41:49
阅读次数:
291
1,生成有填充颜色的三角形 some-class { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 40px solid r ...
分类:
Web程序 时间:
2016-06-19 11:22:41
阅读次数:
184
1、映像:-webkit-box-reflect:blow 2px -webkit-gradient( linear, left top, left bottom, from(transparent), color-stop(0.52,transprent), to(white)); 2、对于页码的 ...
分类:
Web程序 时间:
2016-06-14 00:58:40
阅读次数:
625
三角形: .topArrow{ border-top:15px solid red;//边框的颜色就是背景色,箭头的方向取相反 border-left:15px solid transparent;//其他的边框设置空白,不设置高度宽度 border-right:15px solid transpa ...
分类:
Web程序 时间:
2016-06-13 11:16:53
阅读次数:
214
一、没有使用代理服务器的情况: REMOTE_ADDR = 您的 IP HTTP_VIA = 没数值或不显示 HTTP_X_FORWARDED_FOR = 没数值或不显示 二、使用透明代理服务器的情况:Transparent Proxies REMOTE_ADDR = 最后一个代理服务器 IP HT ...
分类:
Web程序 时间:
2016-06-10 21:45:20
阅读次数:
189