Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
Note the last rule: it says «any p that has a class underline AND small». Explorer 6- doesn't read this last rule correctly; it applies it to any paragraph that has a class «small».
p.underline.small {font-variant: small-caps;}
.nav-math li.first.uncollapsed{} срабатывало как .nav-math li{}
<html>
<head>
<style>
.button,.button2 {width:100px;height:20px;background:#0FF}
.button.hover {border:1px solid #F0F}
</style>
</head>
<body>
<div class="button hover"></div>
<div class="button2 hover"></div>
</body>
</html>
это правило будет применяться, когда указаны одновременно оба предыдущих класса
.red {color: red}
.blue {color: blue}
Стилевые описания для нескольких селекторов, указанных одновременно