上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 50 下一页
摘要: 视频 平滑翻页 没写动画效果的时候 平滑的翻页 循环翻页 图片需要在第一张前面加上最后一张,在最后一张后面加上第一张。 改变格式让第一张显示出来。 自动翻页 鼠标事件 圆点同步更新 阅读全文
posted @ 2023-01-15 01:34 垂序葎草 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 视频 CSS模块 style样式 css(styleName): 根据样式名得到对应的值 css(styleName, value): 设置一个样式 css({多个样式对}): 设置多个样式 位置坐标 offset(): 读/写当前元素坐标(原点是页面左上角) position(): 读当前元素坐标 阅读全文
posted @ 2023-01-15 00:15 垂序葎草 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 20230129 默写通过 20230218 完全忘了 [原链接](https://www.acwing.com/problem/content/788/ 题目 #include<cstdio> #include<iostream> #include<cstdlib> using namespace 阅读全文
posted @ 2023-01-14 23:20 垂序葎草 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 定义 unordered_set将相同哈希值的键值放在相同的桶中 unordered_set<Key> s; 增 insert() 插入指定元素 删 erase() 删除指定元素 1.根据指定key删除 2.根据迭代器位置删除 查 count() 值为key的元素存在则返回1,不存在则返回0 阅读全文
posted @ 2023-01-14 20:50 垂序葎草 阅读(28) 评论(0) 推荐(0) 编辑
摘要: unordered_map参考博客 区别在于unordered_multimap允许键值冗余,即key值可以是一样的,但是unordered_map不允许。 定义 主要使用的也是模板的前2个参数<键,值> unordered_map<const Key, T> map; 增 insert()/map 阅读全文
posted @ 2023-01-14 20:00 垂序葎草 阅读(101) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/1303455/202301/1303455-20230114020106805-667179447.png) 阅读全文
posted @ 2023-01-14 02:01 垂序葎草 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 视频 为什么要用事件委托:新增的dom元素没有对应点击事件。子元素的事件交给父元素来代为处理。父元素要知道是哪个子元素发生的。 <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8"> <title>20_事件委托2</title> </head> < 阅读全文
posted @ 2023-01-14 01:47 垂序葎草 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 视频 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>19_事件切换</title> </head> <style type="text/css"> * { margin: 0px; } .div1 { position: ab 阅读全文
posted @ 2023-01-14 01:07 垂序葎草 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 视频 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>18_事件绑定与解绑</title> </head> <style type="text/css"> * { margin: 0px; } .out { position: 阅读全文
posted @ 2023-01-14 00:42 垂序葎草 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 视频 原生 正则返回什么 正则对照表 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content- 阅读全文
posted @ 2023-01-13 23:40 垂序葎草 阅读(24) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 50 下一页