上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
  2022年2月7日
摘要: 精灵图 用ps测量的像素值才对得上。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0 阅读全文
posted @ 2022-02-07 11:14 cookie的笔记簿 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 隐藏层 <title>仿土豆网显示隐藏遮罩案例</title> <style> .tudou { position: relative; width: 444px; height: 320px; background-color: pink; margin: 30px auto; } .tudou 阅读全文
posted @ 2022-02-07 10:42 cookie的笔记簿 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 浮动是用来做文字环绕的 <style> .box { /* 1.浮动的元素不会压住下面标准流的文字 */ float: left; /* 2. 绝对定位(固定定位) 会压住下面标准流所有的内容。 */ width: 150px; height: 150px; background-color: pi 阅读全文
posted @ 2022-02-07 10:39 cookie的笔记簿 阅读(43) 评论(0) 推荐(0) 编辑
  2022年2月6日
摘要: 相对定位 <title>相对定位</title> <style> .box1 { position: relative; top: 100px; left: 100px; width: 200px; height: 200px; background-color: pink; } .box2 { w 阅读全文
posted @ 2022-02-06 16:27 cookie的笔记簿 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 为什么要清除浮动 浮动是什么在这里不做讲解。 父元素里面包含两个浮动的子元素,下面设置了一个footer。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-02-06 09:26 cookie的笔记簿 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 问题一:外边距合并 <title>外边距合并-相邻块级元素垂直外边距合并</title> <style> .damao, .ermao { width: 200px; height: 200px; background-color: pink; } .damao { margin-bottom: 1 阅读全文
posted @ 2022-02-06 09:14 cookie的笔记簿 阅读(73) 评论(0) 推荐(0) 编辑
  2022年2月4日
摘要: 水平居中 a.文字 text-align b.块级元素:首先块级元素需要设定了width margin: 0 auto; 垂直居中 line-height与height相等 阅读全文
posted @ 2022-02-04 16:53 cookie的笔记簿 阅读(119) 评论(0) 推荐(0) 编辑
  2022年1月30日
摘要: https://answers.microsoft.com/zh-hans/windows/forum/all/%E6%9B%B4%E6%96%B0%E5%91%A8%E5%B9%B4%E6%9B%B4/5197954c-4a1c-4f04-b21c-53e5f1c0f586 阅读全文
posted @ 2022-01-30 10:48 cookie的笔记簿 阅读(22) 评论(0) 推荐(0) 编辑
  2022年1月29日
摘要: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/a 阅读全文
posted @ 2022-01-29 12:18 cookie的笔记簿 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-29 12:13 cookie的笔记簿 阅读(49) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页