Skip to content

Node.js based forum software built for the modern web

tiles animate on :hover

Baris Soner Usaklif4b3ef01df53
diff --git a/public/css/style.less b/public/css/style.less
index b9b28af757..2b7f64c5d6 100644
--- a/public/css/style.less
+++ b/public/css/style.less
@@ -739,23 +739,23 @@ body .navbar .nodebb-inline-block {
100% {top: -180px;}
}
-.category-slider-2 {
+.category-slider-2:hover {
position:relative;
- -webkit-animation: scroll-2 15s ease 2s infinite normal;
- animation: scroll-2 15s ease 2s infinite normal;/* Safari and Chrome: */
+ -webkit-animation: scroll-2 10s ease 1s infinite normal;
+ animation: scroll-2 10s ease 1s infinite normal;/* Safari and Chrome: */
}
-.category-slider-1 {
+.category-slider-1:hover {
position:relative;
- -webkit-animation: scroll-1 12s ease 2s infinite normal;
- animation: scroll-1 12s ease 2s infinite normal;/* Safari and Chrome: */
+ -webkit-animation: scroll-1 8s ease 1s infinite normal;
+ animation: scroll-1 8s ease 1s infinite normal;/* Safari and Chrome: */
}
-.category-slider-0 {
+.category-slider-0:hover {
position:relative;
- -webkit-animation: scroll-0 9s ease 2s infinite normal;
- animation: scroll-0 9s ease 2s infinite normal;/* Safari and Chrome: */
+ -webkit-animation: scroll-0 6s ease 1s infinite normal;
+ animation: scroll-0 6s ease 1s infinite normal;/* Safari and Chrome: */
}