Как на
jQuery записать
@media (min-width: 320px) and (max-width: 638px) {
li.product:nth-child(2n+3){
clear: left !important;
}
ul.products li.product.first {
clear: none !important;
}
}
@media (min-width: 639px) and (max-width: 767px) {
li.product:nth-child(3n+4){
clear: left !important;
}
ul.products li.product.first {
clear: none !important;
}
}
@media (min-width: 768px) and (max-width: 960px) {
li.product:nth-child(4n+5){
clear: left !important;
}
ul.products li.product.first {
clear: none !important;
}
}