摘要: 我们的难题 在网页设计中,存在一个相当古老而又相当常见的问题,它是前端工程师绕不开的坎。这个问题可以概括如下:有一个具有块级样式的页脚(比如它设置了背景或者阴影),当页面内容足够长时,它一切正常,而当页面较短时,就会出现问题。此时的问题在于页脚不能向我们期望的那样紧贴在视口的最底部,而是跟随在内容的 阅读全文
posted @ 2018-01-10 11:07 奔跑的小溪 阅读(290) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>js原始增加删除类</title> <style type="text/css"> .red{ color: red; } .border{ border: 1px solid; } 阅读全文
posted @ 2017-12-28 09:41 奔跑的小溪 阅读(587) 评论(0) 推荐(0) 编辑
摘要: The X-UA-Compatible header is not case sensitive; however, it must appear in the header of the webpage (the HEAD section) before all other elements ex 阅读全文
posted @ 2017-12-13 16:20 奔跑的小溪 阅读(132) 评论(0) 推荐(0) 编辑
摘要: html: <span>^</span> css body{ height: 3000px; } span{ display: block; position: fixed; bottom: 20px; right: 10px; font-size: 60px; } js: <script> var 阅读全文
posted @ 2017-08-03 17:57 奔跑的小溪 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 网页的里的颜色大致分为两种:1、前景色。color,在html中也就是元素的文本,border-color也属于前景色;2、背景色。 一、前景色 设置前景色最简单的办法就是利用color属性了, This property describes the foreground color of an e 阅读全文
posted @ 2017-07-05 16:44 奔跑的小溪 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 我感觉阿里字体图标分两种使用:用别人的,用自己的。呵呵哒,自己的我还不会做,不过阿里的字体图标种类多,基本都能覆盖了。 一、偷别人的用 步骤如下: 1、在图标库里找自己想要图标 找到以后,点击图标下方的购物车,然后这个图标就放到暂存柜了; 2、找到你需要的所有图标都暂时放到暂存柜里去,找齐了之后。点 阅读全文
posted @ 2016-09-20 15:32 奔跑的小溪 阅读(8028) 评论(1) 推荐(1) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset = "UTF-8"> <title>选项卡</title> <link rel = "stylesheet" href = "css/normalize.css" /> <style type = "text/cs 阅读全文
posted @ 2016-08-30 21:35 奔跑的小溪 阅读(22124) 评论(3) 推荐(2) 编辑