上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页

2019年1月5日

摘要: 1.box-shadow阴影 一个特别全的教程: https://mp.weixin.qq.com/s/t97RsDMZNZbTNHC5hWXEAw 2.CSS文本两端对齐: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> 阅读全文
posted @ 2019-01-05 12:00 namehou 阅读(135) 评论(0) 推荐(0)

2019年1月4日

摘要: 1.前端开发工程师,不关心手机分辨率,我们只关心手机视口 2.手机浏览器内核:微软的Trident 火狐的Gecko 开源的内核Webkit Opera的Presto 目前微软的Trident在移动终端上主要为WP7、8系统内置浏览器。Opera的Presto内核主要为 Opera Mobile、O 阅读全文
posted @ 2019-01-04 10:24 namehou 阅读(137) 评论(0) 推荐(0)

2018年12月28日

摘要: vue 1.mvvm框架 和angular类似 比较容易上手 小巧 2.官网:http://cn.vuejs.org 3.vue angular区别: vue 简单 易学 指令以v-xx 一片html代码配合上json,在new出来vue实例 个人维护 适合移动端项目,小巧 vue发展势头猛,git 阅读全文
posted @ 2018-12-28 11:54 namehou 阅读(132) 评论(0) 推荐(0)

2018年12月20日

摘要: 严格模式 只需要在代码首部加入字符串“use strict”, 必须在首部,首部是指其前面没有任何有效的js代码注释,否则无效。 eg: "use strict"; function(){ console.log(a) ; } 注意事项: 1.不适用var声明变量,严格模式中奖通不过;在循环中如果没 阅读全文
posted @ 2018-12-20 17:46 namehou 阅读(341) 评论(0) 推荐(0)
 
摘要: const var let区别 1.const 定义的变量不可以修改,而且必须初始化 2.var 定义的变量可以修改,如果不初始化会输出undefine 3.let是块级作用域,函数内部使用let定义后,对外部函数无影响 阅读全文
posted @ 2018-12-20 17:15 namehou 阅读(549) 评论(0) 推荐(0)
 
摘要: #box1{ width: 200px;height: 200px;border: 1px solid #333; } #box2{ width: 100px;height: 100px;margin: 50px;border: 1px solid #333; } #span{ width: 50p 阅读全文
posted @ 2018-12-20 16:42 namehou 阅读(163) 评论(0) 推荐(0)
 
摘要: *{ padding: 0;margin: 0; } ul,ol{ list-style: none; } .rili{ width: 240px;height: 300px;margin: 50px auto;border: 1px solid #... 阅读全文
posted @ 2018-12-20 16:41 namehou 阅读(130) 评论(0) 推荐(0)
 
摘要: *{ padding: 0;margin: 0; } .all{ width: 100%;overflow: hidden; } ul li{ list-style: none; } .box{ width: 400px;height: 30px;background: blue;color: #f 阅读全文
posted @ 2018-12-20 16:41 namehou 阅读(113) 评论(0) 推荐(0)
 
摘要: #box{position: relative; width: 200px; height: 50px; border: 1px solid #eee; margin: 50px auto 0;} #bg{height: 10px; margin-top: 19px; border: 1px sol 阅读全文
posted @ 2018-12-20 16:39 namehou 阅读(319) 评论(0) 推荐(0)

2018年12月14日

摘要: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="renderer" conten 阅读全文
posted @ 2018-12-14 08:57 namehou 阅读(577) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页