Skip to content

Commit b1ff8c4

Browse files
committed
search-base
1 parent 5841314 commit b1ff8c4

File tree

7 files changed

+157
-2
lines changed

7 files changed

+157
-2
lines changed

.gitignore

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
### Node template
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (http://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# Typescript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
### macOS template
63+
*.DS_Store
64+
.AppleDouble
65+
.LSOverride
66+
67+
# Icon must end with two \r
68+
Icon
69+
70+
71+
# Thumbnails
72+
._*
73+
74+
# Files that might appear in the root of a volume
75+
.DocumentRevisions-V100
76+
.fseventsd
77+
.Spotlight-V100
78+
.TemporaryItems
79+
.Trashes
80+
.VolumeIcon.icns
81+
.com.apple.timemachine.donotpresent
82+
83+
# Directories potentially created on remote AFP share
84+
.AppleDB
85+
.AppleDesktop
86+
Network Trash Folder
87+
Temporary Items
88+
.apdisk
89+

Search-Base/css/base.css

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
body{
2+
background-color: #333;
3+
}
4+
.bg-div{
5+
background-image: url(../image/353893-106.jpg);
6+
position: relative;
7+
width: 1600px;
8+
height: 900px;
9+
margin: 0 auto;
10+
background-repeat:no-repeat;
11+
background-position:center 0;
12+
}
13+
.search-logo{
14+
width: 150px;
15+
heigth:150px;
16+
margin: -60px 2px;
17+
float: left;
18+
}
19+
form{
20+
float: left;
21+
height: inherit;
22+
background: #ffffff;
23+
}
24+
.search-input-button{
25+
margin: 2px 2px 2px 0px;
26+
border: 0px;
27+
background: url(../image/bing-logo.svg);
28+
background-repeat:no-repeat;
29+
background-position:center 0;
30+
width: 32px;
31+
height: 32px;
32+
float: left;
33+
outline:none;
34+
cursor: pointer;
35+
}
36+
.search-input-text{
37+
margin: 2px 0px 2px 2px;
38+
padding: 0;
39+
border: 0px;
40+
height: 32px;
41+
line-height:120%;
42+
font-size: 25px;
43+
float: left;
44+
outline:none;
45+
}
46+
.search-box{
47+
position: absolute;
48+
top: 40%;
49+
left: 30%;
50+
}

Search-Base/image/353893-106.jpg

743 KB
Loading

Search-Base/image/bing-logo.svg

Lines changed: 1 addition & 0 deletions
Loading

Search-Base/image/bing.svg

Lines changed: 1 addition & 0 deletions
Loading

Search-Base/index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Title</title>
5+
<title>Search-base</title>
6+
<link rel="stylesheet" href="css/base.css">
67
</head>
78
<body>
8-
9+
<div class="bg-div">
10+
<div class="search-box">
11+
<img class="search-logo" src="image/bing.svg"/>
12+
<form>
13+
<input type="text" class="search-input-text"/>
14+
<input type="submit" class="search-input-button" value=""/>
15+
</form>
16+
</div>
17+
</div>
18+
<script src="js/base.js"></script>
919
</body>
1020
</html>

Search-Base/js/base.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Created by Administrator on 2017/6/23.
3+
*/
4+

0 commit comments

Comments
 (0)