我一直在使用Zurb Foundation Framework这意味着如何使用CSS类:.class1.class2?
在他们的CSS文件,我看到的东西我还没有见过:
.blue.button:hover, .blue.button:focus {
background-color: #0192DD;
}
.nice.blue.button {
border: 1px solid #0593DC;
}
.button:hover, .button:focus {
background-color: #0192DD;
color: white;
}
.blue.button {
background-color: #00A6FC;
}
举例来说,我非常清楚地知道什么.blue .button
做,但我不知道是什么.blue.button
呢。任何人都可以向我解释这个吗?
另请参见:http://www.w3.org/TR/CSS2/selector.html#class-html – 2012-03-07 13:10:19