css3新增加的选择器一、属性选择器:E[attr] 只要有属性名E[attr=value] 属性名=属性值E[attr~=blue] 包含这个blue整个单词就可以E[attr^=c] 以这个字母c开头的E[attr$=b] 以这个字母b结尾的E[attr*=a] 只要包含a这个字母就行E[att...
分类:
Web程序 时间:
2015-09-04 07:33:55
阅读次数:
162
A???标签HTML 选择器 body{? ??padding:0px;?margin:0px;?background-color:#ffdee0; }? ? B?? 类别CLASS 选择器 ??<style?type="text/css"> ?????.hongkong{ ????????color:blue; ?...
分类:
Web程序 时间:
2015-09-01 21:39:23
阅读次数:
197
DescriptionBeads of red, blue or green colors are connected together into a circular necklace of n beads ( n 2 #include 3 #include 4 #include 5 #incl....
分类:
其他好文 时间:
2015-09-01 19:42:03
阅读次数:
264
Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the or...
分类:
其他好文 时间:
2015-09-01 14:02:53
阅读次数:
152
题目连接http://poj.org/problem?id=3080Blue JeansDescriptionThe Genographic Project is a research partnership between IBM and The National Geographic Socie...
分类:
其他好文 时间:
2015-08-31 19:13:59
阅读次数:
164
在工作中做一个图片半透明遮罩时发现在IE8下不兼容一查再知道IE8不支持rgba颜色,再搜搜兼容性方法,没想到这么快就解决了。先说说rgba的含义:r代表red,g代表green,b代表blue,a代表透明度。红绿蓝是三原色,所有颜色都可以由这三种颜色拼合而成。比如rgba(0,0,0,.5)就是透...
分类:
其他好文 时间:
2015-08-30 22:34:46
阅读次数:
174
Broken NecklaceYou have a necklace of N red, white, or blue beads (3#include using namespace std;const int maxn=355;int N;char beads[maxn];int calcula...
分类:
其他好文 时间:
2015-08-29 06:07:57
阅读次数:
191
1,创建数组1 //第一种是使用Array构造函数2 var colors = new Array();3 var colors = new Array(20); //创建length为20的数组4 var colors = new Array("red","blue","green");5 //....
分类:
编程语言 时间:
2015-08-28 00:38:09
阅读次数:
224
题目:创建3个UISlider对象。?用这3个UISlider对象控制self.view.backgroundColor的变化。 3个UISlider对象分别控制UIColor的red,green,blue。 滑动任何?一个UISlider都会引起背景颜?色变化。#import "AppDelega...
分类:
其他好文 时间:
2015-08-27 00:19:46
阅读次数:
191
欢迎参加hihoCoder挑战赛14和15,赢取100件Tshirt!
Language:
Default
Blue Jeans
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 14450
Accepted: 6437
Descrip...
分类:
其他好文 时间:
2015-08-26 22:28:08
阅读次数:
192