color:rgba(red,green,blue,alpha)和background-color:rgba(r,g,b,a)
2016-09-18 16:40
393 查看
<div style="background-color:rgba(10,100,100,0.5);
border-radius:10px;width:100px;
height:100px;">
<p style="color:rgba(245,8,26,1);">aaa</p>
<p style="color:rgba(245,8,26,0.5);">aaa</p>
</div>
border-radius:10px;width:100px;
height:100px;">
<p style="color:rgba(245,8,26,1);">aaa</p>
<p style="color:rgba(245,8,26,0.5);">aaa</p>
</div>
相关文章推荐
- background:rgba(red,green,blue,alphavalue)
- [UIColor colorWithRed: green: blue: alpha:] 失效问题
- [UIColor colorWithRed:(CGFloat) green:(CGFloat) blue:(CGFloat) alpha:(CGFloat)]
- [UIColor colorWithRed: green: blue: alpha:] 自定义颜色失效问题
- 解决[UIColor colorWithRed: green: blue: alpha:] 没有效果的问题
- iPhone开发笔记 (6) [UIColor colorWithRed:(CGFloat) green:(CGFloat) blue:(CGFloat) alpha:(CGFloat)]
- rgba括号中前3个数字代表着 red green blue三种颜色的rgb值
- ios 的colorWithRed:green:blue:alpha:
- IOS7.0系统上,特定颜色调用`- getRed:green:blue:alpha:`方法返回结果有误的问题
- UI-UIColor-initWithRed:green:blue:alpha:调研
- [Fix] Some File and Folder Names Showing in Blue or Green Color in Windows Explorer
- self.tableView.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:0.3];
- rgba for background color of IE 7 & 8
- 如何把RGB函数的返回值还原成Red、Green、Blue
- 如何把RGB函数的返回值还原成Red、Green、Blue
- Echarts插件的所有显示方式设置 theme = { // 全图默认背景 // backgroundColor: ‘rgba(0,0,0,0)’,
- IColor 的RGBA定义颜色 (colorWithRed)
- android 改变ImageView的颜色(Alpha值、Red值、Green值、Blue值)
- 蒙板_upView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.5];
- Just colorSensor and show red,green,purple