css3 Transition动画执行时有可能会出现闪烁的bug,一般出现在开始的时候。 解决方法: 1、-webkit-backface-visibility: hidden; 2、-webkit-transform-style: preserve-3d; 需要应用在动画元素上。 第二种方法在低端 Read More
posted @ 2016-03-11 10:49 lx_ Views(3780) Comments(0) Diggs(0) Edit
网上看到一片好文,转载保留 高性能 CSS3 动画 尽可能的让动画元素不在文档流中,以减少重排 position: fixed; position: absolute; 尽可能多的利用硬件能力,如使用3D变形来开启GPU加速 -webkit-transform: translate3d(0, 0,  Read More
posted @ 2016-03-11 07:34 lx_ Views(1488) Comments(0) Diggs(0) Edit
-webkit-overflow-scrolling:touch;/*允许独立的滚动区域和触摸回弹*/ 这个属性可以提高滚动的平滑度 Read More
posted @ 2016-03-10 21:39 lx_ Views(255) Comments(0) Diggs(0) Edit
//网上摘录整理private long GetAMRFileDuration(string fileName) { long duration = 0; FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, Read More
posted @ 2016-02-19 16:25 lx_ Views(2940) Comments(0) Diggs(0) Edit
访问远程的数据库时 报错,本地数据库正常netsh winsock reset --运行此命令,解决。netsh winsock reset命令,作用是重置 Winsock 目录。如果一台机器上的Winsock协议配置有问题的话将会导致网络连接等问题,就需要用netsh winsock reset命... Read More
posted @ 2015-12-08 13:39 lx_ Views(295) Comments(0) Diggs(0) Edit
//anchorpoints:贝塞尔基点 //pointsAmount:生成的点数 //return 路径点的Array function CreateBezierPoints(anchorpoints, pointsAmount) { ... Read More
posted @ 2015-11-25 17:06 lx_ Views(8923) Comments(0) Diggs(0) Edit
在asp.net mvc3.0中[ValidateInput(false)]特性失效了,只需要在网站根目录中的web.config中做如下配置即可: Read More
posted @ 2015-10-20 10:58 lx_ Views(607) Comments(0) Diggs(0) Edit
ajax:通过给Response Header添加Access-Control-Allow-Origin:* 来解决跨域请求,*代表允许所有的跨域请求,或者把*换成指定的域名cookie:服务端需要在Response Header中加入头Access-Control-Allow-Credential... Read More
posted @ 2015-10-12 14:48 lx_ Views(797) Comments(0) Diggs(0) Edit
overflow-y: auto;-webkit-overflow-scrolling:touch; /*加上这个让浏览器支持touch和自动滚动这样界面就可以滚动了*/ Read More
posted @ 2015-09-09 17:05 lx_ Views(1517) Comments(0) Diggs(0) Edit
一、圆角(border-radius)border-radius:[|]{1,4} [ / [|]{1,4} ]?设置或检索对象使用圆角边框。提供2个参数,2个参数以“/”分隔,每个参数允许设置1~4个参数值,第1个参数表示水平半径,第2个参数表示垂直半径,如第2个参数省略,则默认等于第1个参数。第... Read More
posted @ 2015-08-31 10:40 lx_ Views(591) Comments(0) Diggs(0) Edit