jack-sparrow / css-the-definitive-guide-4th-zh-cn Goto Github PK
View Code? Open in Web Editor NEWCSS权威指南第四版中文翻译
Home Page: https://css.falselive.cn/
CSS权威指南第四版中文翻译
Home Page: https://css.falselive.cn/
多类选择器下的以下文字:
IE7以前的Internet Exlorer版本处理多类选择器有问题。在这些旧版本中,虽然可以选择列表中的单个类名,但对多个类名的选择无法正常生效。p.warning
会按照预期生效,但 p.warning.help
会匹配任意一个class
属性值列表中含有help
的p
元素。如果你使用p.warning.help
,旧版本的IE会匹配任何一个class
值列表中含有warning
的p
元素,而无论值中有没有help
。
应该调整为:
IE7以前的Internet Exlorer版本处理多类选择器有问题。在这些旧版本中,虽然可以选择列表中的单个类名,但对多个类名的选择无法正常生效。p.warning
会按照预期生效,但 p.warning.help
会匹配任意一个class
属性值列表中含有help
的p
元素。如果你使用p.help.warning
,旧版本的IE会匹配任何一个class
值列表中含有warning
的p
元素,而无论值中有没有help
。
即:p.warning.help
写错了,顺序要换成:p.help.warning
Gecko-based browsers use CSS to affect the presentation of the browser **chrome** itself
其中 chrome 一词指的是浏览器 viewport 之外的部分, 比如地址栏, 书签栏, 标签栏等部分, 而不是指 Google Chrome 浏览器
我认为这里应翻译成 通过 CSS 影响浏览器自身 chrome 的呈现, 最好能再加上关于 Chrome 一词的译注
Definition: Chrome is the visual design elements that give users information about or commands to operate on the screen's content (as opposed to being part of that content). These design elements are provided by the underlying system — whether it be an operating system, a website, or an application — and surround the user's data.
参考资料:
Browser and GUI Chrome
StackOverflow: What does 'chrome' mean?
你提供的地址里只找到第三版,第四版没找到?谢谢告知
CSS: The Definitive Guide
by Eric A. Meyer
Third Edition November 2006
Print: $44.99
Ebook: $35.99
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.