![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
绯火琉瞳
这个作者很懒,什么都没留下…
展开
-
div自增长后背景色或图片随之增长
height:auto !important; height:550px; min-height:550px; 在Div末尾加入代码: <div style="clear:both;"></div> 或者使用 <br style="clear:both;" /> 2. 使用after伪类 这种方法就是对父容器使用after伪类和内容声明在转载 2014-01-28 13:39:47 · 469 阅读 · 0 评论 -
input只能输入数字
input只能输入数字: onkeyup="this.value=this.value.replace(/[^\d]/g,'')" onafterpaste="this.value=this.value.replace(/[^\d]/g,'')"转载 2014-02-08 16:13:47 · 362 阅读 · 0 评论 -
系统/服务器优化
(Cache,Asynchronous,Concurrent)前端性能优化 网页瘦身,降低带宽消耗。 尽量少的使用图片及大体积的东西。 合并js、css文件以减少请求加载次数 页面静态化 DNS负载均衡 CDN,Content Delivery Network,即内容分发网络 后台性能优化 数据库部分 数据冗余 将数据库的数据冗余处理,以减少大表连接查询 数据镜像 数据分区 逻辑 Cache原创 2015-07-18 17:32:00 · 449 阅读 · 0 评论