01 2023 档案
摘要:1. 直接贴代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co
阅读全文
摘要:直接贴代码 手机网易新闻网部分适配代码 html { font-size: 13.33333vw } @media screen and (max-width: 320px) { html { font-size:42.667px; font-size: 13.33333vw } } @media
阅读全文
摘要:1. 第一种方式:使用lineTo画直线和quadraticCurveTo(二次贝塞尔曲线)画圆弧 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" co
阅读全文
摘要:https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Cookies
阅读全文
摘要:<p>这是上面代码的实现<br /> 我们有一些 <span data-descr="collection of words and punctuation">文字</span> 有一些 <span data-descr="small popups which also hide again">提示
阅读全文
摘要:举例 下面的方法复制到剪切板后,会吞掉 \r 和 \n: const copy = (value) => { const input = document.createElement("input");// 可以换成textarea标签 input.value = value; document.b
阅读全文
摘要:1. 首先图片需要有一个容器,容器需要有背景颜色,默认是#fff <div class="container"> <img src="xxx.png" alt="" /> </div> 2. 然后指定混合模式和滤镜 .container { background-color: xxx颜色; img
阅读全文