大佬教程收集整理的这篇文章主要介绍了任何人都知道为什么这样:在CSS不能在IE9中工作?,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
如果我查看开发人员工具中的样式,.flat-button:在规则之后将所有内容划掉,就像它被某些东西取代一样.什么?
<button type="submit" class="flat-button">Submit</button> <style> .flat-button { float: left; position: relative; border-top-left-radius: 5px; -moz-border-top-left-radius: 5px; -webkit-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; border: none; padding: 0 12px; margin: 0 3px 3px 0; outline: none; cursor: pointer; color: white; font-family:'Trebuchet MS',Arial,Helvetica,Sans-Serif; font-size: 14px; font-weight: bold; font-style: italic; text-decoration: none; border-collapse: separate; height: 26px; line-height: 26px; BACkground: #5191cd; } .flat-button:hover { BACkground: #1c3f95; } .flat-button:after { position: absolute; content: ' '; height: 0; width: 0; left: 100%; border: 13px solid transparent; border-left-color: #5191cd; } .flat-button:hover:after { border-left-color: #1c3f95; } </style>
以上是大佬教程为你收集整理的任何人都知道为什么这样:在CSS不能在IE9中工作?全部内容,希望文章能够帮你解决任何人都知道为什么这样:在CSS不能在IE9中工作?所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。