用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载
2018-10-15 17:31
IE7loadsandparsesallstylesheetsintoaformthatExplorercanunderstand.YoucanthenusemostCSS2/CSS3selectorswithouthavingtoresorttoCSShacks.
Thelightweightscriptisasingle-lineinclusioninyourHTML/XMLdocument.Noalterationofyouroriginalmarkupisnecessary.NeitherdoyouhavetoalteryourCSS.
IE7providesMicrosoftInternetExplorerwithsupportforW3CstandardCSSandHTML:
supportsthefollowingCSSselectors:
namespaceselector
parent>child
adjacent+sibling
adjacent~sibling
[attr],[attr=value],[attr~=value]etc
.multiple.classes(fixesbug)
:hover,:active,:focus(forallelements)
:first-child,:last-child,only-child,nth-child,nth-last-child
:check,:disabled,:enabled
:root,:empty,:contains(),:not()
:before/:after/content:
:lang()
workswithbothHTMLandXMLdocuments
supportsimportedstylesheets
preservesthecascadeofthestylesheet
doesnotalterthedocumentstructure
doesnotrepeatedlyquerytheDOMtreeusingJavaScript
usespureCSStoenforcestylesheetrules
supportstheW3Cboxmodelinbothstandardsandquirksmode
supportsfixedpositioning(flickerfree)
supportsoverflow:visible
supportsmin/max-width/height
fixesbroken(X)HTMLelements(abbr,object)
standardiesformsbehavior
supportsPNGalphatransparency
lightweightscript(22K)
completelymodular(add/removefixes)
worksforMicrosoftInternetExplorer5+(Windowsonly)
IE7_0_9.zip下载
下一篇:JSON学习笔记第12页
文章标题:用javascript实现兼容IE7的类库 IE7_0_9.zip提供下载
文章链接:http://soscw.com/essay/18707.html