摘要: 1、过渡 定义过度的属性 transition-property: width,height; transition-property: all; 过度的时间:单位s transition-duration: 1s; 合并:属性 + 时间 + 运动曲线 transition: all 1s ease 阅读全文
posted @ 2023-10-30 20:33 五季-子琛 阅读(106) 评论(1) 推荐(0)
摘要: 1、JavaScript在HTML中的引入方式 1、直接在行内添加JavaScript代码: <a href="javascript:alert('hello');">hello</a> <div onclick="alert('123456')">点击我试试</div> <span onclick 阅读全文
posted @ 2023-10-30 19:10 五季-子琛 阅读(8) 评论(0) 推荐(0)