第一种方式:因为浮动框不在普通的文档流中,所以它不占据空间。如下面的代码:.news { background-color:gray; border:1px solid black;}.news img { float:left;}.news p { float:right;} Some text....
分类:
Web程序 时间:
2015-06-09 19:06:57
阅读次数:
119
HTML:CSS:.black {color:#000;} .gray {color:#b3b3b3;}
分类:
其他好文 时间:
2015-06-09 17:05:16
阅读次数:
64
今天打开腾讯网页body的全部(图片和文字)内容都是灰色的 原来今天是“东方之星”沉船遇悲痛事件的第七天,愿逝者安息生者坚强。。然后我们来看下body全部内容为灰色的效果是怎样实现的查了下资料原来是filter:grayscale(100%);/*火狐*/filter:gray;/*ie6-8*/-...
分类:
其他好文 时间:
2015-06-08 11:19:54
阅读次数:
249
.gray {-webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(100%);fil...
分类:
Web程序 时间:
2015-06-08 11:18:54
阅读次数:
119
简介
本篇讲解使用opencv来测试,表示camera gamma参数的灰阶卡图片指标:YA Block、DynamicRange、Gray Scale。
具体实现
实现代码
#include
#include
#include
#include
#include
#include
#include
#include "opencv2/imgproc/i...
分类:
其他好文 时间:
2015-06-05 08:48:50
阅读次数:
302
%应用实例一:无标题文档 实例二:
var str = ''; aLi[i].onmouseover = function (){ str = this.style.background; // 先存颜色 this.style.background = 'gray'; }; aLi[i].onmou...
分类:
其他好文 时间:
2015-06-04 18:45:36
阅读次数:
211
项目需要,参考了一下网上的资料,写了一个shader,给按钮置灰。
shader具体实现如下:
Shader "Transparent Colored Gray"
{
Properties
{
_MainTex ("Base (RGB), Alpha (A)", 2D) = "white" {}
}
SubShader
{
LOD 200
...
分类:
编程语言 时间:
2015-06-04 15:44:39
阅读次数:
558
通常,文章总是采用黑白打印,打印出来的效果往往与电脑显示效果不同,为不必在打印店白跑一趟,可采用虚拟打印,下面是adobe acrobat设置黑白打印的方法:
选择Print->Advanced->Color:Composite Gray即可。...
分类:
其他好文 时间:
2015-06-02 21:59:45
阅读次数:
181
<!DOCTYPE?html>
<html>
<head>
??<meta?charset="UTF-8">
??<title>Document</title>
</head>
<body>
??<div>
????<div??style="background-color:?gray;width:500px;height:100px;"></div>
??...
分类:
Web程序 时间:
2015-06-01 06:13:51
阅读次数:
211
RatingBar一般都是显示整数个数的,这次因为要显示半个的Star,就把之前的样式改了一改,结果,出现了问题:无论怎么设置setpSize的值,每次显示的Star都是整个的。。 ic_orange:ic_gray:ic_setting:结果是这样的:为什么没...
分类:
其他好文 时间:
2015-05-31 01:16:35
阅读次数:
11594