的問題,你已在css
的Move the line
之前:
/* Move the line */
.tabs-style-linemove nav li:first-child.tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-400%,0,0);
transform: translate3d(-400%,0,0);
}
.tabs-style-linemove nav li:nth-child(2).tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-300%,0,0);
transform: translate3d(-300%,0,0);
}
.tabs-style-linemove nav li:nth-child(3).tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-200%,0,0);
transform: translate3d(-200%,0,0);
}
.tabs-style-linemove nav li:nth-child(4).tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-100%,0,0);
transform: translate3d(-100%,0,0);
}
後:
/* Move the line */
.tabs-style-linemove nav li:first-child.tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-300%,0,0);
transform: translate3d(-300%,0,0);
}
.tabs-style-linemove nav li:nth-child(2).tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-200%,0,0);
transform: translate3d(-200%,0,0);
}
.tabs-style-linemove nav li:nth-child(3).tab-current ~ li:last-child::before {
-webkit-transform: translate3d(-100%,0,0);
transform: translate3d(-100%,0,0);
}
哇哦!非常感謝!我試圖找到解決方案在JS文件 – Faizy
沒問題給我添加一個'V'標誌:) – Zamboney