会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sophia
多读书、会识人、去远方
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
下一页
2019年5月19日
工厂模式以及应用场景
摘要: 工厂模式以及应用场景 面向对象(Object-Oriented, oo)语言的一个是标志--类的概念 // "use strict"; //6.1理解对象var person = new Object();person.name = 'nick'; person.age = '29';person.
阅读全文
posted @ 2019-05-19 16:38 pikachuWorld
阅读(1170)
评论(0)
推荐(0)
2019年4月20日
结构与布局-紧贴底部的页脚
摘要: <style> *{margin:0;padding: 0;} /*第一种方法*/ /*body{color:#fff;text-align: center;} header{background: #000;height:3.5em;} main{ min-height: calc(100vh -
阅读全文
posted @ 2019-04-20 19:13 pikachuWorld
阅读(181)
评论(0)
推荐(0)
2019年4月17日
结构与布局-垂直居中
摘要: <style> /*第一种*/ /*main{ width:18em;height:6em;position: absolute;top:50%;left:50%; margin-left:-9em;margin-top:-3em;background: #631082; text-align: c
阅读全文
posted @ 2019-04-17 00:34 pikachuWorld
阅读(174)
评论(0)
推荐(0)
2019年3月7日
vscode mac下终端code .快速打开工程文件
摘要: 1、cd ~ 2、ls -al 注意2点(也可以到你的~目录下shift+command+.显示隐藏文件直接修修改) 切换到zsh chsh -s /bin/zsh 切换到bashchsh -s /bin/bash 在zsh下面 修改 vim .zshrc 在bash下面 修改 vim .bash_
阅读全文
posted @ 2019-03-07 20:33 pikachuWorld
阅读(1358)
评论(0)
推荐(0)
2016年10月10日
javascript操作对象和集合(jquery 6)
摘要: javascript操作对象和集合 //6.3.2 遍历属性和集合 对象与数组 var arr = [ "one", "two", "three", "four"]; $.each(arr, function(i,value){ console.log(this,i,value); }); var
阅读全文
posted @ 2016-10-10 23:41 pikachuWorld
阅读(255)
评论(0)
推荐(0)
2016年9月5日
手机四个数字是中间星号两种写法
摘要: 手机四个数字是中间星号两种写法 第一种: '13711018098'.replace(/(\d{3})(\d{4})(\d{4})/g,'$1****$3'); 第二种: var phone = '13611018888'; var mphone = phone.substr(0, 3) + '**
阅读全文
posted @ 2016-09-05 20:48 pikachuWorld
阅读(430)
评论(0)
推荐(0)
2016年8月22日
jquery 轮播图
摘要: 1、轮播图好几种方法下面先更新第一版jquery轮播图 2、利用定位left,比如轮播图整个可视区域500,最外层div设置宽度500px,里面所有图片并列显示比如三张3*500=1500px,第一张left:0px;第二张left:-500px;第三张left:-1000px;可以利用索引值ind
阅读全文
posted @ 2016-08-22 16:52 pikachuWorld
阅读(272)
评论(0)
推荐(0)
2016年8月21日
js学习笔记5--引用类型
摘要: var name = new Array("Greg"); var name = Array("Greg"); var colors =["red","blue","green"]; colors[colors.length] = "black"; console.log(colors.length
阅读全文
posted @ 2016-08-21 12:19 pikachuWorld
阅读(201)
评论(0)
推荐(0)
2016年8月9日
图片放大缩小闪烁效果
摘要: <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>css3 图片放大缩小闪烁效果</title> <style></style> <style> body{background:#7fa8d1;opacity:0.
阅读全文
posted @ 2016-08-09 18:14 pikachuWorld
阅读(248)
评论(0)
推荐(0)
简单的tab标签
摘要: <!DOCTYPE html> <html><head> <style> *{margin:0;padding: 0;} body{font-size: 62.5%;padding:20em;} p { margin-left:10px; } .container{width: 30em;heigh
阅读全文
posted @ 2016-08-09 17:43 pikachuWorld
阅读(256)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
下一页
公告