1
Modernizr 클래스를 사용하고 싶지만 현재 중첩 선택기에서 SASS로 올바르게 수행하는 방법을 볼 수 없습니다. 현재 SASS 중첩에 조상 선택기를 추가하십시오.
최적화하는 방법 :.page-home .content .rows .row {
background: blue; }
html.no-touch .page-home .content .rows .row:hover {
background: red; }
.page-home .content .images {
width: auto; }
html.touch .page-home .content .images {
max-width: 50px; }
이를 참조하십시오
.page-home .content .rows .row {
background: blue;
}
html.no-touch .page-home .content .rows .row:hover {
background: blue;
}
.page-home .content .images {
width: auto;
}
html.touch .page-home .content .images {
max-width: 50px;
}
SCSS에서 수행 할 수 있습니까? – bazzlebrush