Display: -webkit-box; display: webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; // Line overflow: hidden;
var time = document.getElementById(‘time’); SetInterval (function(){var d1 = new Date(); Var d2 = new Date (2018,3,23,19,0,0,0); Var dis = d2-d1; var s = Math.round(dis/1000 % 60); var m = Math.floor(dis/1000/60%60); var h = Math.floor(dis/1000/60/60%24); var d = Math.floor(dis/1000/60/60/24); Var STR = d + + h + “hour” + “day” m + “minutes” + s + “seconds”; time.innerHTML = str; }, 1000);