下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、css技术中线性渐变的语法对象挑选器 background:-扫瞄器前缀-linear-gradient( 起点方向,起点色彩,尽头色彩);径向渐变的语法对象挑选器 background:-扫瞄器前缀-radial-gradient( 起点方向,外形,大小,起点色彩,尽头色彩);渐变的兼容办法1、线性渐变各扫瞄器前缀(1)firefox(2)safari , chrome(3)opera 11.10+兼容ie2、径向渐变径向渐变和线性渐变的语法差不多渐变应用实例1、径向渐变做大背景background-color:4b770a;background-image:-webkit-gradient
2、(radial,50%400,1,50%400,400,from(rgba(255,255,255,0.3),to(rgba(255,255,255,0);/仅实现了webkit下的效果2、蒙版效果position:fixed;width:100%;height:60px;bottom:0px;content:;background:-moz-linear-gradient(top,rgba(255,255,255,0)0%,rgba(255,255,255,0.33)33%,rgba(255,255,255,0.73)66%,rgba(255,255,255,1)91%);backgroun
3、d:-webkit-gradient(linear,lefttop,leftbottom,color-stop(0%,rgba(255,255,255,0),color-stop(33%,rgba(255,255,255,0.33),color-stop(66%,rgba(255,255,255,0.73),color-stop(91%,rgba(255,255,255,1);background:-webkit-linear-gradient(top,rgba(255,255,255,0)0%,rgba(255,255,255,0.33)33%,rgba(255,255,255,0.73)6
4、6%,rgba(255,255,255,1)91%);background:-o-linear-gradient(top,rgba(255,255,255,0)0%,rgba(255,255,255,0.33)33%,rgba(255,255,255,0.73)66%,rgba(255,255,255,1)91%);background:-ms-linear-gradient(top,rgba(255,255,255,0)0%,rgba(255,255,255,0.33)33%,rgba(255,255,255,0.73)66%,rgba(255,255,255,1)91%);backgrou
5、nd:linear-gradient(top,rgba(255,255,255,0)0%,rgba(255,255,255,0.73)33%,rgba(255,255,255,0.73)66%,rgba(255,255,255,1)91%);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=00ffffff,endcolorstr=ffffff,gradienttype=0);3、渐变按钮.mybutton-moz-box-shadow:inset0px1px0px0pxffffff;-webkit-box-shad
6、ow:inset0px1px0px0pxffffff;box-shadow:inset0px1px0px0pxffffff;background:-webkit-gradient(linear,lefttop,leftbottom,color-stop(0.05,ededed),color-stop(1,dfdfdf);background:-moz-linear-gradient(top,ededed5%,dfdfdf100%);background:-webkit-linear-gradient(top,ededed5%,dfdfdf100%);background:-o-linear-g
7、radient(top,ededed5%,dfdfdf100%);background:-ms-linear-gradient(top,ededed5%,dfdfdf100%);background:linear-gradient(tobottom,ededed5%,dfdfdf100%);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=ededed,endcolorstr=dfdfdf,gradienttype=0);background-color:ededed;-moz-border-radius:6px;-
8、webkit-border-radius:6px;border-radius:6px;border:1pxsoliddcdcdc;display:inline-block;cursor:pointer;color:777777;font-family:arial;font-size:15px;font-weight:bold;padding:6px24px;text-decoration:none;text-shadow:0px1px0pxffffff;margin-top:100px;.mybutton:hoverbackground:-webkit-gradient(linear,left
9、top,leftbottom,color-stop(0.05,dfdfdf),color-stop(1,ededed);background:-moz-linear-gradient(top,dfdfdf5%,ededed100%);background:-webkit-linear-gradient(top,dfdfdf5%,ededed100%);background:-o-linear-gradient(top,dfdfdf5%,ededed100%);background:-ms-linear-gradient(top,dfdfdf5%,ededed100%);background:linear-gradient(tobottom,dfdfdf5%,ededed100%);filter:progid:dximagetransform.microso
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024-2030年中国鳕鱼肠市场销售规模及投资前景研究分析研究报告
- 2024-2030年中国高纯氨水市场需求量预测及前景动态研究研究报告
- 2024-2030年中国高端数控机床行业销售规模与需求前景预测报告
- 2024年湖北省宜昌市五峰土家族自治县六年级数学第一学期期末预测试题含解析
- 2024-2030年中国高值医疗器械行业前景动态与投融资发展状况监测研究报告
- 2024-2030年中国香皂行业营销动态及竞争对手研究报告
- 2024-2030年中国餐厨垃圾处理服务市场运营规划与发展格局剖析研究报告
- 2024-2030年中国食品温度计行业市场发展趋势与前景展望战略研究报告
- 2024-2030年中国预制菜市场供需现状与竞争前景分析研究报告
- 2024-2030年中国青梅浓缩汁行业市场运行分析及商业模式与投融资战略研究报告
- 回填土工程协议
- 浙江省温州市2023-2024学年七年级下学期期末学业水平检测英语试题
- 塑料 划痕损伤和划痕可见性的定量评估-编制说明
- 《商品信息采集与处理》职业活动教学设计(第五章)
- 贵金属材料在航空航天中的应用
- CHT 1021-2010 高程控制测量成果质量检验技术规程
- 《计算力学》课件
- 异常子宫出血规培教学查房讲课
- (高清版)TDT 1036-2013 土地复垦质量控制标准
- 【海警小艇勤务的优缺点及发展思考8300字(论文)】
- 2024年医疗法律法规培训计划
评论
0/150
提交评论