摘要: 阅读全文
posted @ 2018-03-12 19:50 丢嫂 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-12 14:16 丢嫂 阅读(397) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } button{ width: 100px; } </styl 阅读全文
posted @ 2018-03-12 13:57 丢嫂 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } .box{ width: 600px; height: 60 阅读全文
posted @ 2018-03-12 13:34 丢嫂 阅读(105) 评论(0) 推荐(0) 编辑
摘要: setInterval(“fun()”,1000) setInterval(fun, 1000);每隔1秒钟,就去执行一次 fun 这个函数(最常用) setInterval( function(){} , 1000 ) setInterval(fun(),1000) 错误的 倒计时:<!DOCTY 阅读全文
posted @ 2018-03-10 12:08 丢嫂 阅读(145) 评论(0) 推荐(0) 编辑
摘要: getDate() 获取日 1-31 getDay () 获取星期 0-6 getMonth () 获取月 0-11 getFullYear () 获取完整年份(浏览器都支持) getHours () 获取小时 0-23 getMinutes () 获取分钟 0-59 getSeconds () 获 阅读全文
posted @ 2018-03-10 11:08 丢嫂 阅读(143) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } .box{ width: 500px; height: 阅读全文
posted @ 2018-03-10 10:34 丢嫂 阅读(222) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } .box{ width: 730px; height: 阅读全文
posted @ 2018-03-09 14:08 丢嫂 阅读(400) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> .box{ width: 350px; height: 250px; /*border: black soild 阅读全文
posted @ 2018-03-07 15:25 丢嫂 阅读(87) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } ul{ list-style: none; } .box 阅读全文
posted @ 2018-03-07 13:19 丢嫂 阅读(142) 评论(0) 推荐(0) 编辑