![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web前端
cuifancastle
Fast fast biu biu biu
展开
-
一次前端活动页面制作的总结(杂谈)
记录总结供以后查询使用。 @[TOC] img图裂如何处理 这里介绍两种方法: 方法一 text-indent & opacity img { border: 0; vertical-align: bottom; text-indent: -10000px; } img[src=""],img:not([src]){ opacity:0; } 方法二 使用背景图,不会出现图裂, background: url(); 图片懒加载 <img src="a.png" lo原创 2020-08-03 19:19:13 · 730 阅读 · 0 评论 -
nodejs模仿优酷网站,有后端
做个简单版,算是原型吧, nodejs+express+mongodb+jade ,jquery +bootstrap +js github: https://github.com/cuifancastle/movie- 先发几张照片...功能实现 大概就是这个样子 github上讲了怎么搭建,至于代码怎么实现的 有时间再写吧 算了说下思路原创 2016-05-23 21:44:55 · 853 阅读 · 0 评论 -
前端资源简单整理下
帮朋友整理下我的收藏夹 鸣谢搜索引擎和一切为前端行业无私奉献的人 1.别人整理的前端资源: https://github.com/lostinflycity/Front-end-tutorial http://www.zhujunel.com/resource 2.别人整理的前端面试题 https://github.com/lostinflycity/Front-end-questio原创 2016-05-18 20:47:54 · 752 阅读 · 0 评论 -
vue表单验证
最近在做vue的项目,遇到表单验证的问题,验证手机,身份证号,护照号,必填选填等 ------------------------------------------------------------------------- 改别人的代码,刚开始搞不懂用的什么组建,有两个 vue-validator 和vue-form 在网上找了相关正则表达式,写自定义的验证的回调函数,按照文档原创 2016-11-29 23:23:55 · 13483 阅读 · 0 评论