码迷,mamicode.com
首页 >  
搜索关键字:red    ( 13693个结果
css 颜色属性详细总结
color属性定义文本的颜色:color:green;color:#ff6600;简写式:color:#f60红(R),绿(G),蓝(B)每个的取值范围0-255color:rgb(255,255,255)RGBA分别代表red红色,green绿色,Blue蓝色,Alpha的(色彩进空间)透明color:rgba(255,255,255,1)css颜色对照编码连接:http://www..
分类:Web程序   时间:2016-08-22 00:43:27    阅读次数:230
BZOJ1419: Red is good
1419: Red is good Description 桌面上有R张红牌和B张黑牌,随机打乱顺序后放在桌面上,开始一张一张地翻牌,翻到红牌得到1美元,黑牌则付出1美元。可以随时停止翻牌,在最优策略下平均能得到多少钱。 Input 一行输入两个数R,B,其值在0到5000之间 Output 在最优 ...
分类:其他好文   时间:2016-08-21 22:55:39    阅读次数:309
CSS id 选择器
id 选择器 id 选择器可以为标有特定 id 的 HTML 元素指定特定的样式。 id 选择器以 "#" 来定义。 下面的两个 id 选择器,第一个可以定义元素的颜色为红色,第二个定义元素的颜色为绿色: 下面的 HTML 代码中,id 属性为 red 的 p 元素显示为红色,而 id 属性为 gr ...
分类:Web程序   时间:2016-08-21 16:44:44    阅读次数:1787
CSS格式与布局
一、position:fixed (针对主页面body进行定位,并且在下拉页面是处于原位置不动,通常为网站右下角弹窗。) <style sype=“text/css”> .a { width:100px; height:100px; backgroun-color:red; border:1px s ...
分类:Web程序   时间:2016-08-21 16:30:38    阅读次数:143
js学习笔记5--引用类型
var name = new Array("Greg"); var name = Array("Greg"); var colors =["red","blue","green"]; colors[colors.length] = "black"; console.log(colors.length ...
分类:Web程序   时间:2016-08-21 13:46:17    阅读次数:156
jquery
end():返回jquery对象上一次被破坏之前的状态。是指对象包装集被破坏之前 如:$("#id").nextAll().css("background-color","red").end().css("background-color","red"); $("#id").nextAll()已经改 ...
分类:Web程序   时间:2016-08-20 17:46:43    阅读次数:255
当鼠标指向时覆盖阴影的代码
<style>#a{ width:100%; height:415px; border:1px solid red; position:relative;}.aa{ width:20%; height:200px; margin-left:4%; float:left; margin-top:5px ...
分类:其他好文   时间:2016-08-20 16:20:15    阅读次数:130
数学计数原理(Pólya):POJ 1286 Necklace of Beads
Necklace of Beads Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 7763 Accepted: 3247 Description Beads of red, blue or green colors are co ...
分类:其他好文   时间:2016-08-20 08:59:17    阅读次数:159
Sort Colors,颜色排序
问题描述: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 ...
分类:编程语言   时间:2016-08-19 17:32:35    阅读次数:168
css2---选择器
常用选择器,6种,分别是 全局选择器,标签选择器,id选择器,class选择器,复合选择器(空格 .号 ,号),a:状态选择器 全局选择器 *{ background:src(1.jpg); } 标签选择器 p{ background-color:red; } id选择器 #id1{ backgro ...
分类:Web程序   时间:2016-08-19 10:02:02    阅读次数:273
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!