`
yeya86787888
  • 浏览: 8658 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

To Target Specific Browsers:

阅读更多
哪位哥们英语好的,帮我翻译下,谢过了~
To Target Specific Browsers:

#ID or .class is like div#main or div.main

 * html #ID or .class {
   ie6
}

*:first-child+html #ID or .class {
   ie7
}

#ID or .class, x:-moz-any-link, x:default {
    FF3
}

body:nth-of-type( ) #ID or .class {
    chrome and safari
}
       OR

body:nth-of-type(1) #ID or .class {
   chrome and safari, this will just target the 1st one
}
分享到:
评论

相关推荐

    Designing Next Generation Web Projects with CSS3.pdf 英文原版

    target CSS rules to specific devices, trigger animations and behavior in response to user interaction, gain confidence with helpful tools like SASS, learn how to deal with old browsers and more. ...

    Manning jQuery in Action.pdf

    - **Selecting by Position**: Selectors like `:eq()`, `:odd`, and `:even` can be used to target specific elements based on their position within a collection. - **Custom jQuery Selectors**: jQuery also...

    Learning React Native - Building Native Mobile Apps with JavaScript 2nd Edition

    The second edition of this hands-on guide shows you how to build applications that target iOS, Android, and other mobile platforms instead of browsers—apps that can access platform features such as ...

    Learning React Native Building Native Mobile Apps with JavaScript 2nd Ed (MOBI)

    The second edition of this hands-on guide shows you how to build applications that target iOS, Android, and other mobile platforms instead of browsers—apps that can access platform features such as ...

    HP11.11系统 JDK6下载

    Note: When downloading a .depot, .tar, or .sh file, some browsers don't recognize the .depot, .tar, or .sh format and treat the file as a text or application-specific file. If this happens, right-...

    HP-UX JDK6 资源 下载

    Note: When downloading a .depot, .tar, or .sh file, some browsers don't recognize the .depot, .tar, or .sh format and treat the file as a text or application-specific file. If this happens, right-...

    HP-UX JRE6 资源 下载

    Note: When downloading a .depot, .tar, or .sh file, some browsers don't recognize the .depot, .tar, or .sh format and treat the file as a text or application-specific file. If this happens, right-...

    HP-UX JDK6 jre6aa_16004_pa.depot 资源 下载

    Note: When downloading a .depot, .tar, or .sh file, some browsers don't recognize the .depot, .tar, or .sh format and treat the file as a text or application-specific file. If this happens, right-...

    python3.6.5参考手册 chm

    PEP 529: Change Windows filesystem encoding to UTF-8 PEP 528: Change Windows console encoding to UTF-8 PEP 520: Preserving Class Attribute Definition Order PEP 468: Preserving Keyword Argument ...

    ICS delphixe10源码版

    ICS - Internet Component Suite - V8 - Delphi 7 to RAD Studio 10 Seattle ======================================================================= (Aka FPIETTE's Components) Revised: March 3, 2016 ...

    好看的下拉菜单

    /* specific to non IE browsers */ .menu ul li:hover a {color:#fff; background:#36f;} .menu ul li:hover ul {display:block; position:absolute; top:0; left:105px; width:105px;} .menu ul li:hover ul li a....

Global site tag (gtag.js) - Google Analytics