Loading...
JS中获取时间new date()的用法获取时间:var myDate = new Date();//获取系统当前时间 获取特定格式的时间: myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate...
修改input默认placeholder样式,让你的输入框更好看 input::input-placeholder { color: #fb4747; } input::-webkit-input-placeholder { col...
一、脱离文档流元素的居中1.margin:auto法html代码: <div class="demo1"> <image src="1.png"> </div> css代码: .demo1{ width: 420px; height: 284px; ...
Swiper 是移动 Web 开发中最常用的滑块插件,是一款免费的,最现代化的移动触摸滑块,支持硬件加速的转换和惊人的原生表现。它的目的是在移动网站,移动 Web 应用程序和 Hybrid 混合应用程序中使用。最初的设计主要是为 iOS,但同时也支持最新的 Android,Windows Phone 8 和现代的桌面浏览器。官方文档
页面布局<section class="sec-wrapper"><header class="head-top">页面头部</header> <section class="main-section"> <div class="div-wrapper cl...