-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
268 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
/* http://meyerweb.com/eric/tools/css/reset/ | ||
v2.0 | 20110126 | ||
License: none (public domain) | ||
*/ | ||
|
||
html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
a, abbr, acronym, address, big, cite, code, | ||
del, dfn, em, img, ins, kbd, q, s, samp,ul | ||
strike, strong, sub, sup, tt, var, | ||
b, u, i, center, | ||
dl, dt, dd, ol, ul, li, | ||
fieldset, form, label, legend, | ||
table, caption, tbody, tfoot, thead, tr, th, td, | ||
article, aside, canvas, details, embed, | ||
figure, figcaption, footer, header, hgroup, | ||
menu, nav, output, ruby, section, summary, | ||
time, mark, audio, video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
/* HTML5 display-role reset for older browsers */ | ||
article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, ul { | ||
list-style: none; | ||
} | ||
blockquote, q { | ||
quotes: none; | ||
} | ||
blockquote:before, blockquote:after, | ||
q:before, q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
img{ | ||
border: 0; | ||
padding: 0; | ||
margin:0; | ||
} | ||
body{ | ||
margin: 0; | ||
height: 100%; | ||
} | ||
/* | ||
以上reset_css | ||
*/ | ||
html{ | ||
min-width:1000px; | ||
} | ||
body{ | ||
background-color:#999999; | ||
} | ||
header>nav img{ | ||
width:20px; | ||
height:15px; | ||
padding-right: 5px; | ||
} | ||
header a{ | ||
text-decoration:none; | ||
font-weight:bold; | ||
color:white; | ||
} | ||
ul li{ | ||
display: inline-block; | ||
} | ||
header>nav{ | ||
width:100%; | ||
background-color:green; | ||
padding:10px 0; | ||
font-size:small; | ||
position:relative; | ||
height:20px; | ||
} | ||
header>nav>ul{ | ||
position:absolute; | ||
right:10%; | ||
} | ||
header>nav>ul>li{ | ||
padding:0 5px; | ||
} | ||
.sec_head{ | ||
width:100%; | ||
height:50px; | ||
background:black; | ||
position:relative; | ||
} | ||
img[src="img/logo_index.png"]{ | ||
position:relative; | ||
left:13%; | ||
top:3px; | ||
} | ||
.sec_head>ul{ | ||
position:absolute; | ||
right:13%; | ||
top:20px; | ||
} | ||
.sec_head>ul>li{ | ||
padding:0 7px; | ||
} | ||
/* | ||
以上header部分 | ||
*/ | ||
.main{ | ||
position:relative; | ||
left:10%; | ||
width:80%; | ||
margin:10px; | ||
} | ||
img[src="img/prospect-writting-png.png"]{ | ||
width:100%; | ||
} | ||
main{ | ||
float:left; | ||
margin:10px 5px 10px 0; | ||
width:60%; | ||
height:1000px; | ||
} | ||
.main_firs{ | ||
position:relative; | ||
width:100%; | ||
height:1000px; | ||
} | ||
.main_firs h3{ | ||
cursor:pointer; | ||
height:40px; | ||
text-align:center; | ||
padding-top:20px; | ||
} | ||
#main_tab1 h3{ | ||
position:absolute; | ||
left:0; | ||
width:25%; | ||
} | ||
#main_tab2 h3{ | ||
position:absolute; | ||
top:0; | ||
left:25%; | ||
width:25%; | ||
} | ||
#main_tab3 h3{ | ||
position:absolute; | ||
top:0; | ||
left:50%; | ||
width:25%; | ||
} | ||
#main_tab4 h3{ | ||
position:absolute; | ||
top:0; | ||
left:75%; | ||
width:25%; | ||
} | ||
.main_button p{ | ||
position:absolute; | ||
left:45%; | ||
top:25%; | ||
color:red; | ||
} | ||
.secssion{ | ||
background-color: white; | ||
position:absolute; | ||
top:60px; | ||
height: 940px; | ||
width: 100%; | ||
box-shadow: 5px 5px 2px #292929; | ||
} | ||
.main_firs img{ | ||
position:absolute; | ||
top:20%; | ||
left:10%; | ||
width:200px; | ||
height:100px; | ||
} | ||
.secssion.secssion_first{ | ||
height:430px; | ||
} | ||
.main_firs .main_sec{ | ||
clear:both; | ||
position:absolute; | ||
top:50%; | ||
width:100%; | ||
height:50%; | ||
background-color: white; | ||
box-shadow: 5px 5px 2px #292929; | ||
} | ||
.secssion1{ | ||
background-color: green; | ||
position:absolute; | ||
top:50%; | ||
left:40%; | ||
width: 200px; | ||
height: 50px; | ||
border:0; | ||
} | ||
.secssion2{ | ||
background-color: green; | ||
position:absolute; | ||
top:70%; | ||
left:10%; | ||
width: 200px; | ||
height: 50px; | ||
border:0; | ||
} | ||
.main_sec>p{ | ||
color:red; | ||
top:50%; | ||
left:1%; | ||
} | ||
aside{ | ||
float:right; | ||
margin:10px 0 10px 5px; | ||
width:38%; | ||
height:600px; | ||
} | ||
aside div{ | ||
position:relative; | ||
left:-10px; | ||
width:100%; | ||
height:190px; | ||
margin:10px; | ||
background-color: white; | ||
box-shadow: 5px 5px 2px #292929; | ||
padding: 10px; | ||
box-sizing: border-box; | ||
} | ||
aside img{ | ||
position:absolute; | ||
left:20%; | ||
} | ||
aside button{ | ||
position: absolute; | ||
top:70%; | ||
left: 35%; | ||
} | ||
/* | ||
以上main和aside部分 | ||
*/ | ||
footer{ | ||
clear:both; | ||
position:relative; | ||
width:100%; | ||
height:60px; | ||
padding-top:30px; | ||
border-top:1px solid #D3D3D3; | ||
} | ||
.footer_tel{ | ||
position:absolute; | ||
left:10%; | ||
} | ||
.footer_oth{ | ||
position:absolute; | ||
right:10%; | ||
text-align: right; | ||
line-height:1.4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,5 @@ | |
</div> | ||
</footer> | ||
<!--===页脚结束==--> | ||
<script type="text/javascript" src="js/js.js"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.