摘要: <title></title> 标签 // meta标签 描述 和 关键字 <meta name="description" content=""></meta> <meta name="keywords" content=""></meta> 阅读全文
posted @ 2020-11-29 22:27 天使佳少 阅读(60) 评论(0) 推荐(0)
摘要: // 不需要宽高 width:0; height:0; // border 最重要 border:10px solid transparent; // 不需设置所有的boder 其他颜色设置为透明 border-top-color:red; //上三角设置为红色 // 兼用低版本浏览器 font-s 阅读全文
posted @ 2020-11-29 21:49 天使佳少 阅读(21) 评论(0) 推荐(0)
摘要: position:static 默认值 position:relative 相对定位,相对于自己定位,保留位置 position: absolute 绝对定位,相对于最近有定位(position!=static)的父元素定位。不保留位置 position: fixed 固定定位,相对于浏览器可视窗口 阅读全文
posted @ 2020-11-28 23:51 天使佳少 阅读(62) 评论(0) 推荐(0)
摘要: <a href="https://www.baidu.com" target="tony">window.open("https://www.baidu.com", "tony") 这两个的作用是一样的,第二个参数是指定一个窗口名称。如果没有,新打开一个窗口,并将窗口设置为 tony;如果存在,打开 阅读全文
posted @ 2020-11-24 09:54 天使佳少 阅读(545) 评论(0) 推荐(0)
摘要: css3:unset 1,如果该属性默认继承属性,该值等同于inherit 2,如果该属性是非继承属性,该值等同于initial input outline: none 去掉输入框点击时的边框 textarea resize: none 防止文本域拖拽 vertical-align: 是作用于行内和 阅读全文
posted @ 2020-09-08 00:17 天使佳少 阅读(73) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> 文档申明是h5页面 <html lang="en"> en表示英文 zh-CH 中文 <meta charset="UTF-8"> charset字符集设置 <a href="#name"> <div id="name"> 点击这个超链接会跳转到div id=name 阅读全文
posted @ 2020-09-01 22:23 天使佳少 阅读(97) 评论(0) 推荐(0)
摘要: 第一种方式: npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/ 这一行命令可以解决这个错误 第二种方式: 设置系统变量,需要根据自己的 node 安装路径去设置,如下所示:系统变量名称: SASS 阅读全文
posted @ 2020-08-23 17:33 天使佳少 阅读(520) 评论(0) 推荐(0)
摘要: git stash //放入本地缓存 git pull //拉取代码 git stash pop //将本地缓存与拉取的代码合并 git stash clear //清空本地缓存 git update-index --assume-unchanged //忽略修改文件 git update-inde 阅读全文
posted @ 2019-05-12 21:47 天使佳少 阅读(56) 评论(0) 推荐(0)