![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
文章平均质量分 68
皮皮哈皮鸭
这个作者很懒,什么都没留下…
展开
-
简单JS根据窗口大小改变class类名
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document<...原创 2020-04-14 10:55:02 · 381 阅读 · 0 评论 -
JS如何让HTML页脚始终保持在文档底部。
给大家分享一个让页脚始终保持在文档底部的代码,不喜勿喷。HTML部分<body> <div style="height: 500px;width: 300px;background-color: blue;"></div> <footer id="footer"> 123456789 </foote...原创 2020-02-21 18:41:37 · 988 阅读 · 4 评论