上一页 1 ··· 5 6 7 8 9
摘要: clientX 以浏览器左上顶角为原点,定位 x 轴坐标clientY 以浏览器左上顶角为原点,定位y轴坐标offsetX 以当前事件的目标对象左上角为原点,定位x轴坐标offsetY 以当前事件的目标对象左上角为原点,定位y轴坐标pageX 以Document 对象(即文本窗口)左上角为原点,定位 阅读全文
posted @ 2020-11-24 23:03 coffeemil 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 指令注释 git init 初始化 git config --global user.name "姓名" 配置姓名 git config --global user.email "邮箱" 配置邮箱 git add ./ 添加到待提交 git commit -m "注释" 提交修改 git reset 阅读全文
posted @ 2020-11-19 21:44 coffeemil 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 一、什么是BFC? BFC是页面上的独立渲染区域 二、BFC产生规则 1、根标签(html) 2、float的值不为none 3、overflow的值不为visible 4、display的值为inline-block 5、position的值为absolute或fixed 三、BFC的特性 1、属 阅读全文
posted @ 2020-10-26 01:13 coffeemil 阅读(901) 评论(0) 推荐(0) 编辑
摘要: 1、利用border边框的特性,使加boder边框的元素宽高都为0,因为外边设置太宽里面太窄,所以呈现出三角形状。 <html> <head> <style> .square{ width: 0px; height: 0px; border: 50px solid transparent; bord 阅读全文
posted @ 2020-10-21 23:45 coffeemil 阅读(134) 评论(0) 推荐(1) 编辑
上一页 1 ··· 5 6 7 8 9