摘要:
<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
阅读(113)
评论(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
阅读(251)
评论(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
阅读(294)
评论(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
阅读(650)
评论(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
阅读(212)
评论(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
阅读(211)
评论(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
阅读(186)
评论(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
阅读(711)
评论(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
阅读(362)
评论(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
阅读(279)
评论(0)
推荐(0)

浙公网安备 33010602011771号