摘要: bind({ 事件类型(){ 事件处理程序 }, 事件类型(){ 事件处理程序 } }) on({ 事件类型(){ 事件处理程序 }, 事件类型(){ 事件处理程序 } }) $('.close').on({ click() { $('.left1').css('display', 'none'); 阅读全文
posted @ 2021-10-25 16:02 刘欣月 阅读(24) 评论(0) 推荐(0)
摘要: $(window).resize( function () { //当浏览器大小变化时 alert($(window).height()); //浏览器时下窗口可视区域高度 alert($(document).height()); //浏览器时下窗口文档的高度 alert($(document.bo 阅读全文
posted @ 2021-10-25 16:01 刘欣月 阅读(33) 评论(0) 推荐(0)
摘要: 弹性盒子布局常用属性 display : flex 声明当前容器时弹性容器 (默认从左到右子元素水平排列) flex-direction : row 从左到右排列 (主轴水平) flex-direction : row-reverse 从右到左排列 (主轴水平) flex-direction : c 阅读全文
posted @ 2021-10-25 16:00 刘欣月 阅读(157) 评论(0) 推荐(0)