上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 44 下一页
摘要: 文档操作方法详解 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>17_文档_增删改</title> </head> <style type="text/css"> * { margin: 0px; } .div1 { posi 阅读全文
posted @ 2021-11-20 22:38 安静点-- 阅读(44) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" c 阅读全文
posted @ 2021-11-20 22:23 安静点-- 阅读(54) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>16_筛选_查找孩子-父母-兄弟标签</title> </head> <body> <div id="div1" class="box" title="one">class为box 阅读全文
posted @ 2021-11-17 22:57 安静点-- 阅读(77) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>15_筛选_过滤</title> </head> <body> <ul> <li>AAAAA</li> <li title="hello" class="box2">BBBBB</ 阅读全文
posted @ 2021-11-17 22:43 安静点-- 阅读(42) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>14_元素的尺寸</title> </head> <style> div { width: 100px; height: 150px; background: red; paddi 阅读全文
posted @ 2021-11-17 22:22 安静点-- 阅读(40) 评论(0) 推荐(0)
摘要: 回到顶部 如果是一瞬间回到顶部,那很简单,但是如果想要平滑的回到顶部,那我们可以先计算出当前滚动条和顶部的位置,然后设置一个时间,表示在这个时间点到达顶部,并且是分多次的,每次设置一定的时间,计算出每次距离之后定时往顶部拉进距离。 <!DOCTYPE html> <html> <head> <met 阅读全文
posted @ 2021-11-16 23:27 安静点-- 阅读(188) 评论(0) 推荐(0)
摘要: 元素滚动 1. scrollTop(): 读取/设置滚动条的Y坐标 2. $(document.body).scrollTop()+$(document.documentElement).scrollTop() 读取页面滚动条的Y坐标(兼容chrome和IE) 3. $('body,html').s 阅读全文
posted @ 2021-11-16 22:21 安静点-- 阅读(373) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>12_offset和position</title> </head> <style type="text/css"> * { margin: 0px; } .div1 { posi 阅读全文
posted @ 2021-11-15 23:18 安静点-- 阅读(67) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>11_css</title> </head> <body> <p style="color: blue;">尚硅谷的后裔</p> <p style="color: green;"> 阅读全文
posted @ 2021-11-15 22:56 安静点-- 阅读(35) 评论(0) 推荐(0)
摘要: 1. 了解jQuery * 是什么: What? * 一个JS函数库: write less, do more * 封装简化DOM操作(CRUD) / Ajax * 为什么用它: why? * 强大选择器: 方便快速查找DOM元素 * 隐式遍历(迭代): 一次操作多个元素 * 读写合一: 读数据/写 阅读全文
posted @ 2021-11-15 22:52 安静点-- 阅读(37) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 44 下一页