上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 31 下一页
摘要: <style> div{ width: 200px; height: 200px; background-color: pink; } </style></head><body><div></div><script src="jquery-1.12.4.js"></script><script sr 阅读全文
posted @ 2018-12-12 20:32 lujieting0 阅读(107) 评论(0) 推荐(0) 编辑
摘要: <style> ul { list-style: none; } li { float: left; width: 200px; height: 200px; background: pink; text-align: center; line-height: 200px; margin: 0 20 阅读全文
posted @ 2018-12-12 20:31 lujieting0 阅读(248) 评论(0) 推荐(0) 编辑
摘要: <style> * { padding: 0; margin: 0; } .comment { font-size: 40px; color: #ff16cf; } .comment li { float: left; } ul { list-style: none; }</style><scrip 阅读全文
posted @ 2018-12-12 20:30 lujieting0 阅读(260) 评论(0) 推荐(0) 编辑
摘要: <a href="http://www.baidu.com" id="link">百度</a><script src="jquery-1.12.4.js"></script><script> $(function () { $("#link").on("click",function (e) { a 阅读全文
posted @ 2018-12-12 20:29 lujieting0 阅读(642) 评论(0) 推荐(0) 编辑
摘要: <div> 这是一个div</div><p> 这是一个p</p><script src="jquery-1.12.4.js"></script><script> $(function () { //100,注册的时候的时候,把100传到事件里面去。 var money = 100; //on(typ 阅读全文
posted @ 2018-12-12 20:28 lujieting0 阅读(207) 评论(0) 推荐(0) 编辑
摘要: <style> * { padding: 0; margin: 0; } .wrap { width: 410px; margin: 100px auto 0; } table { border-collapse: collapse; border-spacing: 0; border: 1px s 阅读全文
posted @ 2018-12-12 20:27 lujieting0 阅读(202) 评论(0) 推荐(0) 编辑
摘要: <input type="button" value="触发" id="btn"/><p>这是一个p标签</p><script src="jquery-1.12.4.js"></script><script> $(function () { //注册事件 $("input").on("click", 阅读全文
posted @ 2018-12-12 20:27 lujieting0 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <input type="button" value="增加" id="btn"><div> <p>111111</p> <p>111111</p> <p>111111</p> <p>111111</p></div><script src="jquery-1.12.4.js"></script><s 阅读全文
posted @ 2018-12-12 20:26 lujieting0 阅读(689) 评论(0) 推荐(0) 编辑
摘要: <style> * { margin: 0; padding: 0; } .father { width: 400px; height: 400px; background-color: pink; position: relative; margin: 100px; } .son { width: 阅读全文
posted @ 2018-12-12 20:25 lujieting0 阅读(354) 评论(0) 推荐(0) 编辑
摘要: <style> #box { width: 500px; height: 500px; background-color: pink; } </style></head><body><!--点击按钮,在div里面创建一个新的p元素--><input type="button" value="按钮" 阅读全文
posted @ 2018-12-12 20:25 lujieting0 阅读(271) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 31 下一页