Difference between revisions of "Team:OUC-China/mbhjc"

Line 58: Line 58:
 
     transition-delay: 0s, 500ms;
 
     transition-delay: 0s, 500ms;
 
}
 
}
.toggle:checked + .list .item:nth-of-type(n+6) {
+
.toggle:checked + .list .item:nth-of-type(n+0) {
 
     max-height: 4em;
 
     max-height: 4em;
 
     opacity: 1;
 
     opacity: 1;
Line 74: Line 74:
 
     content: attr(data-toggle-open);
 
     content: attr(data-toggle-open);
 
}
 
}
.toggle:checked + .list .item:nth-of-type(n+6) ~ .more:before {
+
.toggle:checked + .list .item:nth-of-type(n+0) ~ .more:before {
 
     content: attr(data-toggle-close);
 
     content: attr(data-toggle-close);
 
}
 
}
.no-touch .item:nth-of-type(n+6) ~ .more:hover {
+
.no-touch .item:nth-of-type(n+0) ~ .more:hover {
 
     background-color: #eee;
 
     background-color: #eee;
 
}
 
}

Revision as of 13:22, 15 October 2018

Team OUC-China: Main jQuery UI 折叠面板(Accordion) - 非自动高度
banner
Contact Us : oucigem@163.com | ©2018 OUC IGEM.All Rights Reserved. | ......