-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 2.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "just-some-tips",
"version": "1.0.1",
"description": "==========\r 1. 在一个页面的制作中,如果是定宽的就统一定宽,或者使用百分比,假设文档中有5行,其中三行是用的百分比来规定宽度,另外两行是直接定了宽度的 话 ,那么在页面缩放的时候,那三行的宽度会变成可视区的宽度,但是另外两行的宽度不会变化,这样,另外两行就会把页面给撑开,从而导致页面底 部出现滚动条,当把滚动条向右边拖动的时候,就会看到设置百分比宽度的那几行右边会有留白。解决办法:统一宽度的设置方式,全部都定宽,或者全 部都设为百分比。\r 2. 关于多列布局的一个方法:a. 获取列宽度的百分值,然后用1-百分值*列数就会得到剩余的空间,再把这个空间除以列数-1,这样就能得到每\r 一列之间的间隙,在设置的时候,使用相邻选择器,设置margin-left为得到的间隙值即可。",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
"start": "node server.js",
"test": "mocha tests",
"video": "node src/video/app",
"clearConsole": "bash bin/clearConsole.sh",
"lint": "bash bin/lint.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/374632897/just-some-tips.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/374632897/just-some-tips/issues"
},
"homepage": "https://github.com/374632897/just-some-tips#readme",
"devDependencies": {
"NeteaseCloudMusicApi": "^1.5.1",
"body-parser": "^1.15.2",
"cheerio": "^0.22.0",
"co": "^4.6.0",
"colors": "^1.1.2",
"ejs": "^2.5.5",
"express": "^4.14.0",
"mocha": "^3.2.0"
},
"dependencies": {
"cheerio": "^0.22.0",
"co": "^4.6.0",
"commander": "^2.9.0",
"jquery": "^3.1.1",
"lodash": "^4.17.2",
"mongodb": "^2.2.5",
"request": "^2.78.0",
"video.js": "^5.14.1",
"vue": "^2.1.10",
"vuex": "^2.1.2"
}
}