- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
css实现渐变效果各浏览器兼容性问题(CSS to achieve gradient effect, browser compatibility issues)
css实现渐变效果各浏览器兼容性问题(CSS to achieve gradient effect, browser compatibility issues)
CSS to achieve gradient effect, browser compatibility issues
In this case, the effect is the same effect, that is, the vertical gradient, the starting color is red, the end of the color of blue, the end of the blue transparency is 0.5.
1, IE browser under the gradient background
The use of gradient backgrounds in IE browsers requires the use of IEs gradient filters. Following code:
Filter:, progid:DXImageTransform.Microsoft.gradient (startcolorstr=red, endcolorstr=blue, gradientType=1);
Relevant explanation:
The filter code above basically has three parameters, followed by: startcolorstr, endcolorstr, and gradientType.
Where gradientType=1 represents the horizontal gradient, gradientType=0 represents the longitudinal intermittent variable. The startcolorstr= color represents the initial color of the gradient, and the endcolorstr= color represents the color at the end of the gradient.
The above code is red to blue gradient, but no change in transparency, this is because the IE is currently not supported opacity attributes and RGBA color, to achieve IE transparency change, still need to use the IE filter, the transparency of IE filter function more powerful, but this kind of strong and Firefox or Safari browser. Css-gradient usage is similar to the background gradient.
For example, the following uses:
Filter:alpha (opacity=100, finishopacity=0, style=1, startx=0, starty=5, finishx=90, finishy=60)
The meaning of each parameter is as follows:
Opacity represents transparency, and the default range is from 0 to 100, and they are actually percentages. That is to say, 0 represents complete transparency, and 100 represents complete transparency.
Finishopacity is an optional parameter. If you want to set the gradients transparency, you can use them to specify transparency at the end. The range is 0 to 100.
Style is used to specify the shape features of a transparent area:
0 represents the unified
您可能关注的文档
- 80个词组(80 phrases).doc
- 80后top2学校毕业生的奋斗经历(The struggle experience of 80 top2 school graduates).doc
- 7个经典小故事让你明白目标管理的重要性(7 classic little stories let you know the importance of target management).doc
- 82-外语学院英语专业毕业论文撰写规范(82- language college graduation thesis of English majors writing standard).doc
- 82拍照技巧(82 photo skills).doc
- 80后将颠覆家具产业(80 will subvert the furniture industry).doc
- 88、教师们的教育观点的一致(88, the teacher's education point of view is consistent).doc
- 88个英语词组(88 English phrases).doc
- 89个国外优秀英文新闻网站集(Collection of 89 foreign excellent English news websites).doc
- 876-竞争性谈判文件(876- competitive negotiating documents).doc
- css教学(CSS Teaching).doc
- css样式属性分类(CSS style attribute classification).doc
- csol(CSOL).doc
- css 滤镜使用(CSS filter usage).doc
- css(CSS).doc
- cs理论介绍(The introduction of theory of CS).doc
- ctrl + z的解释(CTRL + Z explanation).doc
- cu 必备高中方程式(Cu high school equation).doc
- cut短语归纳(Cut phrase induction).doc
- cpu类型(CPU type).doc
最近下载
- 2025江苏苏州张家港市长江保坍实业有限公司招聘1人备考试题及答案解析.docx VIP
- 探讨TPACK理论在力学实验教学中的应用.docx VIP
- 2024-2025学年度工程硕士复习提分资料(名校卷)附答案详解.docx
- 江苏苏州张家港市长江保坍实业有限公司招聘笔试题库2025.pdf VIP
- 2025江苏苏州张家港市长江保坍实业有限公司招聘1人笔试历年参考题库附带答案详解.docx VIP
- Oxford学习策略量表(SILL).doc VIP
- 山东发展投资控股集团有限公司招聘笔试题库2025.pdf
- 桌面应急演练评估表.docx VIP
- 麻醉患者的护理(护理课件).ppt
- 广汽本田-奥德赛-保修手册-锐·畅享版-GHA6480BAC6AHEV-奥德赛(混动版)维修保修手册.pdf VIP
文档评论(0)