摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> li{ list-style: none; /*影藏li前面的圆点*/ counter-increment: num 阅读全文
posted @ 2021-05-28 11:46 qq321722956 阅读(427) 评论(0) 推荐(0)
摘要: JS部分: <script> function getTop() { var mytop = $(document).scrollTop(); if (mytop > 100) { $(".s_down").css({ //网页向下滚动100px,显示的css属性 'box-shadow': '0 阅读全文
posted @ 2021-01-13 11:29 qq321722956 阅读(329) 评论(0) 推荐(0)
摘要: js部分: <script> function getTop() { var mytop = $(document).scrollTop(); if (mytop > 400) { $(".fixed_banner").css({ 'display': 'block', 'top': 0, }); 阅读全文
posted @ 2021-01-13 11:18 qq321722956 阅读(187) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"/> <title>demo</title> </head> <body> <div class="demo"> <p id="p1">这是P1标签的内容</p> <br/ 阅读全文
posted @ 2020-12-12 08:08 qq321722956 阅读(161) 评论(0) 推荐(0)
摘要: 1、通过用“点击打开”的方式,这样搜索引擎不会爬取该链接 <a type="submit" onclick="window.open('https://cnblogs.com')"></a> 2、链接加nofollow,告诉搜索引擎不爬取该内容 <a href="https://cnblogs.co 阅读全文
posted @ 2020-12-10 09:13 qq321722956 阅读(77) 评论(0) 推荐(0)
摘要: <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <style> div{ transition: 0s background-color; } div:hover{ b 阅读全文
posted @ 2020-12-08 09:06 qq321722956 阅读(2095) 评论(0) 推荐(0)
摘要: 重要性标签 !important; 隐藏文本下划线:text-decoration: none; div文本或者内容溢出滚动条显示: 需要设置尺寸如 height: 200px; width: 200px; a/横纵都出滚动条:overflow:auto; b/横向滚动条:overflow-x:au 阅读全文
posted @ 2020-11-29 20:49 qq321722956 阅读(143) 评论(0) 推荐(0)