diff --git a/20191016/20191016.md b/20191016/20191016.md new file mode 100644 index 0000000..f7bdeb6 --- /dev/null +++ b/20191016/20191016.md @@ -0,0 +1,10 @@ +# 20191013 + +![js](https://img.shields.io/badge/language-js-orange.svg) + +* offset示例 +[linkToHtml](./offset.html) + * offsetWidth 获取元素的宽度(content , padding , border) + * offsetHeight 获取元素的高度 + * offsetLeft 获取元素距离屏幕左侧的距离 + * 分析父级有没有定位属性,正常流式文档流就是屏幕左侧,浮动了就是距离浮动元素的距离 () \ No newline at end of file diff --git a/20191016/moveBox.html b/20191016/moveBox.html new file mode 100644 index 0000000..9350265 --- /dev/null +++ b/20191016/moveBox.html @@ -0,0 +1,49 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git a/20191016/offset.html b/20191016/offset.html new file mode 100644 index 0000000..b6cb1ba --- /dev/null +++ b/20191016/offset.html @@ -0,0 +1,51 @@ + + + + + + + Document + + + +
+
+
+ + + + \ No newline at end of file diff --git a/20191018/offset.html b/20191018/offset.html new file mode 100644 index 0000000..2e95422 --- /dev/null +++ b/20191018/offset.html @@ -0,0 +1,62 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git a/20191019/20191019.md b/20191019/20191019.md new file mode 100644 index 0000000..558aabf --- /dev/null +++ b/20191019/20191019.md @@ -0,0 +1,6 @@ +# 20191019 + +![js](https://img.shields.io/badge/language-js-orange.svg) + +* 轮播图案例 +[linkToHtml](./slider.html) \ No newline at end of file diff --git a/20191019/slider.html b/20191019/slider.html new file mode 100644 index 0000000..b6ab960 --- /dev/null +++ b/20191019/slider.html @@ -0,0 +1,139 @@ + + + + + + + Document + + + +
+
+ +
+ 1 + 1 + 1 + 1 + 1 +
+
+
+ + + \ No newline at end of file