码迷,mamicode.com
首页 >  
搜索关键字:blue    ( 1833个结果
Leetcode Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".解题思路:用trim() 和splite("\\s+")把S...
分类:其他好文   时间:2015-10-11 06:44:34    阅读次数:112
CSS实现背景透明,文字不透明,兼容所有浏览器
如何实现背景透明,文字不透明,兼容所有浏览器?我们平时调整的不透明度如图所示:实现透明的css方法通常有以下3种方式,以下是不透明度都为80%的写法:css3的opacity:x,x 的取值从 0 到 1,如opacity: 0.8css3的rgba(red, green, blue, alpha)...
分类:Web程序   时间:2015-10-10 17:02:59    阅读次数:306
LESS
变量很容易理解:@nice-blue: #5B83AD;@light-blue: @nice-blue + #111;#header { color: @light-blue; }输出:#header { color: #6c94be; }甚至可以用变量名定义为变量:@fnord: "I am fn...
分类:其他好文   时间:2015-10-08 20:07:20    阅读次数:168
Swift与OC代码转换实例
1.Objectice-C code: 1 NSShadow *shadow = [NSShadow new]; 2 3 [shadow setShadowColor:[UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:1.0]]; 4 5 [s.....
分类:编程语言   时间:2015-10-07 12:09:40    阅读次数:355
leetcode - Sort Colors
leetcode -Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors...
分类:其他好文   时间:2015-10-05 12:58:10    阅读次数:162
75. Sort Colors (Array)
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:其他好文   时间:2015-10-03 09:29:49    阅读次数:203
阴影效果DropShadowEffect
Basic dropshadow Light blue dropshadow Blurred dropshadow with white text Close dropshadow Distant dropshadow
分类:其他好文   时间:2015-10-02 23:39:19    阅读次数:223
Sort Colors
Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh...
分类:其他好文   时间:2015-10-01 22:58:42    阅读次数:255
BZOJ 2648/2716(SJY把件-KD_Tree)[Template:KD_Tree]
2648: SJY把件Time Limit:20 SecMemory Limit:128 MBSubmit:1180Solved:391[id=2648" style="color:blue; text-decoration:none">Submit][Status][Discuss]Descrip...
分类:其他好文   时间:2015-10-01 10:19:57    阅读次数:247
js常见题目
1、用正则表达式实现字符串首尾空格删除功能。2、写一个hack样式实现在IE6、IE7、firefox下分别使用不同的颜色。background:blue;*background:red !important;_background:yellow;3、列出4个http状态码并解释含义。200:OK;...
分类:Web程序   时间:2015-10-01 10:17:47    阅读次数:238
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!