diff --git a/css/style.css b/css/style.css index de97908..ff38baa 100644 --- a/css/style.css +++ b/css/style.css @@ -52,8 +52,9 @@ section { height: 100%; min-height: 600px; transform: scale(1.10); - transition: 1.5s; + transition: ease 1.25s; opacity: 0; + filter: blur(10px); } main { diff --git a/js/main.js b/js/main.js index 159188c..412465c 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,7 @@ //加载动画 window.addEventListener('load', function () { $('#loading-box').attr('class', 'loaded'); - $('#section').css("cssText", "transform: scale(1) !important;opacity: 1 !important"); + $('#section').css("cssText", "transform: scale(1) !important;opacity: 1 !important;filter: blur(0px) !important"); }, false) //弹窗样式 @@ -65,7 +65,8 @@ function time() { if (s < 10) { s = "0" + s; } - document.getElementById("time").innerHTML = y + " 年 " + mm + " 月 " + d + " 日 " + "" + weekday[day] + "
" + "" + h + ":" + m + ":" + s + ""; + //document.getElementById("time").innerHTML = y + " 年 " + mm + " 月 " + d + " 日 " + "" + weekday[day] + "
" + "" + h + ":" + m + ":" + s + ""; + $("#time").html(y + " 年 " + mm + " 月 " + d + " 日 " + "" + weekday[day] + "
" + "" + h + ":" + m + ":" + s + ""); t = setTimeout(time, 1000); }