码迷,mamicode.com
首页 >  
搜索关键字:rgba    ( 1931个结果
自适应布局all样式
/*css document*/@charset "utf-8"*{-webkit-tap-highlight-color:rgba(0,0,0,0); padding:0; margin:0;}body{ font-size:100px; background-color:#f5f5f5; ove ...
分类:其他好文   时间:2017-10-10 16:37:03    阅读次数:197
滚动条
::-webkit-scrollbar { width:7px; height:7px;}::-webkit-scrollbar-track { /*-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,.2); */ /*-webkit-border-radiu ...
分类:其他好文   时间:2017-10-10 10:00:11    阅读次数:97
osg::readPixels,glreadPixels截图,保存图片的alpha不对,总是255(1)
这个函数最近折磨了我很久很久,因为需要用osg截图保存到本地,但是这个图片要具有alpha值,也就是背景的alpha值全为0,但是在公司上用_image->readPixels(448, 28, 1024, 1024, GL_RGBA, GL_UNSIGNED_BYTE);截图出来的是成功有alph ...
分类:其他好文   时间:2017-10-09 15:29:16    阅读次数:665
ArchLinux问题汇总
字体渲染 指定在Xft和fontconfig中 antialias:1 autohint:0 hinting:1 hintstyle:hintslight lcdfilter:lcddefault rgba:rgb dpi:120 /*DPI需要在"~/.Xresources", " ~/.conf ...
分类:系统相关   时间:2017-10-08 11:20:21    阅读次数:224
html5-边框属性
div{ width: 500px; height: 300px; background: rgba(122,30,60,0.5); border: 2px dotted green; border-width: 5px 10px 15px 20px; /*border-style: none; b ...
分类:Web程序   时间:2017-10-07 17:41:57    阅读次数:164
fnproject 对象模型
ApplicationsAt the root of everything are applications. In fn, an application is essentially a grouping of functions with path mappings (routes) to ea... ...
分类:其他好文   时间:2017-10-05 18:28:24    阅读次数:230
canvas图形绘制
前面的话 前面分别介绍了canvas的基础用法和进阶用法,本文将使用canvas的各种语法进行图形绘制 绘制线条 【绘制线条】 下面来尝试绘制一段线条 <canvas id="drawing" style="border:1px solid black"> <p>The canvas element ...
分类:其他好文   时间:2017-10-03 23:29:43    阅读次数:281
pythonchallenge闯关 第7题
7、Hint:给了一副图片'oxygen.png',中间有一道马赛克 先试着把马赛克像素返回为内容 rgba模式(r=red,g=green,b=blue,a=alpha >透明度) 这道题真的有问题……自己量的像素…… 用PIL 这道题我用的python2.7 马赛克长:(1,608)宽(44,5 ...
分类:编程语言   时间:2017-10-02 00:21:33    阅读次数:179
Fidder的使用
默认的header是类似这样的 默认的header是类似这样的 User-Agent: Fiddler Host: localhost Content-Length: 34 只需要改成这样的 只需要改成这样的 User-Agent: Fiddler Content-Type: application ...
分类:其他好文   时间:2017-09-30 11:29:31    阅读次数:152
html5-浮动
#div1{ background: rgba(255,0,0,0.5); width: 250px; height: 250px; float: right;}#div2{ background: rgba(0,255,0,0.5); width: 250px; height: 200px; fl ...
分类:Web程序   时间:2017-09-29 23:11:56    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!