您可能看到有些参考资料建议对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 类,它有可能使用非您预期的那个;因为它只会使用更符合条件的那个。
This is because if the same CSS class is used in two different files, it may use the one you are not expecting; it will use the one that is more qualified.
应用推荐