CSS3制作文字半透明倒影效果
来源:互联网 发布:mac输入法表情符号 编辑:程序博客网 时间:2024/04/28 20:30
</pre><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25.1875px;font-size:18px;"><strong>1.box-reflect</strong></span><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 25.1875px;"> </span><img src="http://dl.iteye.com/upload/attachment/0062/5413/1876f794-903e-3866-b1e0-493f3756fe62.jpg" alt="" /><p></p><p></p><pre name="code" class="html"><div class="content"><h3 title="专业技能">专业技能</h3><div class="next"><!--其他内容--></div></div>
.content h3{ opacity:0.7; font:40px/50px 'Microsoft yahei'; -webkit-box-reflect: below 5px -webkit-gradient(linear, center top, center bottom, from(transparent),color-stop(0.2, transparent), to(white));}
2.transform属性的scaleY方式:
.content h3{ position:relative; float:left; opacity:0.7; font:40px/50px 'Microsoft yahei';} .content h3:before{ content:attr(title); position:absolute; z-index:1; top:100%; left:0; height:100%; width:100%; -webkit-transform:scaleY(-1);}.content h3:after{ content:''; position:absolute; z-index:2; top:100%; left:0; height:100%; width:100%; background:-webkit-gradient(linear, center top, center bottom, from(rgba(255,255,255,0)), to(rgba(255,255,255,1)));/*其他几个被省略了-_-!*/}.content .next{ clear:both; padding:60px;}
0 0
- CSS3制作文字半透明倒影效果
- CSS3制作文字半透明倒影效果
- css3里边文字倒影
- CSS3 倒影效果
- CSS3----图片倒影效果
- CSS3图片倒影效果
- 制作文字倒影
- Photoshop制作文字倒影
- 文字倒影效果
- 水中倒影效果制作
- PS 倒影效果制作
- CSS3制作半透明边框
- CSS3| 制作文字波浪线效果
- CSS3 box-reflect(倒影效果)
- CSS3 box-reflect 倒影效果
- 以倒影效果显示文字
- css3中如何对文字设置倒影
- 使用css3 box-reflect设计倒影效果
- Python 正则表达式验证带分隔符的数字
- [leetcode] Wildcard Matching
- cocos2dx开发中的lua继承与覆盖C++方法
- date datetime java。util。Date java。sql。date
- 命令顺序不正确。 服务器响应为: Error: need EHLO and AUTH first
- CSS3制作文字半透明倒影效果
- emit信号发送结构体
- Chapter 2 Representing and Manipulating Information 《CSAPP 笔记》
- [leetcode] Restore IP Addresses
- UVa 11464 Even Parity
- PAT 1085. Perfect Sequence
- 黑马程序员_JAVA基础5_String
- 如何从ST官网上下载STM32F10x芯片固件库?
- 【ThinkingInC++】43、内建类型封装在一个类里