CSS3,背景透明
2016-05-25 11:46
405 查看
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Document</title> <style type="text/css"> body{ background: gray; } div{ width: 300px; height: 300px; border:10px solid rgba(0, 0, 0, 0.5); background: rgba(0,0,0,0.3); color:rgba(255, 0, 0, 0.5); } </style> </head> <body> <div>我是文字哦</div> </body> </html>
相关文章推荐
- CSS3的内径剪切问题(背景边框是虚线)
- 纯css三级导航
- css3的背景坐标
- 用css3写一个iPhone手机案例
- 【前端开发】CSS中的优先级
- ActionBar样式解析
- CSS选择器的权重与优先规则
- CSS3颜色特征温故
- pyc php js echarts css 数据挖掘感悟 2016.05.24回顾
- css3设置高斯模糊
- 在css中最常用的长度单位
- Animate CSS
- 改变状态栏样式
- 美化加载失败的图片(Stying broken images)
- An Introduction to the Basics of Modern CSS Buttons
- Qt下给QGraphicsScene绘制网格背景方法
- ionic 单选框设计样式
- 关于CSS列表list-style-type的颜色和大小控制
- CSS实现多行文字两端对齐的效果
- 史上最全的CSS hack方式一览