您可能看到有些参考资料建议对iPhone内容使用条件CSS。
You may see some references that recommend using conditional CSS for iPhone content.
清单6演示如何使用CSS - 3根据XForms输入中的class属性为不同的元素有条件地设置宽度。
Listing 6 shows how CSS-3 can be used to conditionally set the width inside different elements that each used a different class attribute in the XForms input.
本质上就是,您在一个特定的CSS选择器上创建一个“查询”,就能够得到一个匹配该条件的元素集。
Essentially, you create a "query" on a particular CSS selector, and you get back a collection of elements that match that criterion.
应用推荐