console
<link rel='stylesheet' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>
<style>
body{
font-family:KaiTi;
font-size:16px;
}
a{
color:black;
text-decoration:none;
}
a:hover{
color:black;
text-decoration:none;
}
a:link{
color:black;
text-decoration:none;
}
a:visited{
color:black;
text-decoration:none;
}
a:active{
color:black;
text-decoration:none;
}
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-ms-animation: none !important;
animation: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}
#header {
-moz-transition: background-color 0.2s ease;
-webkit-transition: background-color 0.2s ease;
-ms-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
height: 3em;
left: 0;
line-height: 3em;
position: fixed;
top: 0;
width: 100%;
z-index: 10000;
background:white;
}
#header h1 {
-moz-transition: opacity 0.2s ease;
-webkit-transition: opacity 0.2s ease;
-ms-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
height: inherit;
left: 1.25em;
line-height: inherit;
position: absolute;
top: 0;
}
#header h1 a {
border: 0;
display: block;
height: inherit;
line-height: inherit;
}
#header nav {
height: inherit;
line-height: inherit;
position: absolute;
right: 0;
top: 0;
}
#header.alt {
background: transparent;
}
#header.alt p {
font-family: KaiTi;
-moz-pointer-events: none;
-webkit-pointer-events: none;
-ms-pointer-events: none;
pointer-events: none;
opacity: 0;
}
#banner {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
cursor: default;
height:50vh;
min-height:25em;
overflow: hidden;
position: relative;
text-align: center;
}
#banner h2 {
-moz-transform: scale(1);
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
-moz-transition: -moz-transform 0.5s ease, opacity 0.5s ease;
-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
-ms-transition: -ms-transform 0.5s ease, opacity 0.5s ease;
transition: transform 0.5s ease, opacity 0.5s ease;
display: inline-block;
font-size: 1.75em;
opacity: 1;
position: relative;
z-index: 1;
}
#banner h2:before, #banner h2:after {
-moz-transition: width 0.85s ease;
-webkit-transition: width 0.85s ease;
-ms-transition: width 0.85s ease;
transition: width 0.85s ease;
-moz-transition-delay: 0.25s;
-webkit-transition-delay: 0.25s;
-ms-transition-delay: 0.25s;
transition-delay: 0.25s;
background:black;
content: '';
display: block;
height: 2px;
position: absolute;
width: 100%;
}
#banner h2:before {
top: 0;
left: 0;
}
#banner h2:after {
bottom: 0;
right: 0;
}
#banner p {
margin-top:20px;
letter-spacing: 0.225em;
text-transform: uppercase;
}
#banner p a {
color: inherit;
}
#banner .more {
-moz-transition: -moz-transform 0.75s ease, opacity 0.75s ease;
-webkit-transition: -webkit-transform 0.75s ease, opacity 0.75s ease;
-ms-transition: -ms-transform 0.75s ease, opacity 0.75s ease;
transition: transform 0.75s ease, opacity 0.75s ease;
-moz-transition-delay: 0.5s;
-webkit-transition-delay: 0.5s;
-ms-transition-delay: 0.5s;
transition-delay: 0.5s;
-moz-transform: translateY(0);
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
border: none;
bottom: 0;
color: inherit;
font-size: 0.8em;
height: 14.5em;
left: 50%;
letter-spacing: 0.225em;
margin-left: -8.5em;
opacity: 1;
outline: 0;
padding-left: 0.225em;
position: absolute;
text-align: center;
text-transform: uppercase;
width: 20em;
z-index: 1;
}
#banner .more:after {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
bottom: 4em;
content: '';
display: block;
height: 1.5em;
left: 50%;
margin: 0 0 0 -0.75em;
position: absolute;
width: 1.5em;
}
#banner:after {
-moz-pointer-events: none;
-webkit-pointer-events: none;
-ms-pointer-events: none;
pointer-events: none;
-moz-transition: opacity 3s ease-in-out;
-webkit-transition: opacity 3s ease-in-out;
-ms-transition: opacity 3s ease-in-out;
transition: opacity 3s ease-in-out;
-moz-transition-delay: 1.25s;
-webkit-transition-delay: 1.25s;
-ms-transition-delay: 1.25s;
transition-delay: 1.25s;
content: '';
background:white;
display: block;
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
opacity: 0;
}
body.is-loading #banner h2 {
-moz-transform: scale(0.95);
-webkit-transform: scale(0.95);
-ms-transform: scale(0.95);
transform: scale(0.95);
opacity: 0;
}
body.is-loading #banner h2:before, body.is-loading #banner h2:after {
width: 0;
}
body.is-loading #banner .more {
-moz-transform: translateY(8.5em);
-webkit-transform: translateY(8.5em);
-ms-transform: translateY(8.5em);
transform: translateY(8.5em);
opacity: 0;
}
body.is-loading #banner:after {
opacity: 1;
}
</style>
<div id="page-wrapper">
<header id="header" class="alt">
<strong> <p style="font-family:FangSong"> <a href="${pageContext.request.contextPath}/newProducts">SAMMIO</a></p></strong>
<nav id="nav">
<a href="${pageContext.request.contextPath}/client/productHome.jsp">设计师作品中心</a>
<a href="${pageContext.request.contextPath}/myAccount">个人中心</a>
<a href="${pageContext.request.contextPath}/client/carts.jsp">购物车</a>
<a> <%
User user = (User) request.getSession().getAttribute("user");
if(null == user){
%>
<a href="${pageContext.request.contextPath}/client/registerLogin.jsp">注册/登录</a>
<%
}else{
%>
欢迎您, ${user.username}
<a href="${pageContext.request.contextPath}/logout" onclick="javascript:return confirm_logout()">用户退出</a>
<%
}
%>
</a>
</nav>
</header>
</div>
</br>
</br>
</br>
</br>
</br>
</br>
<center>
<a href="${pageContext.request.contextPath}/showProductByPage?category=一月">一月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=二月">二月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=三月">三月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=四月">四月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=五月">五月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=六月">六月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=七月">七月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=八月">八月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=九月">九月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=十月">十月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=十一月">十一月</a>
<a href="${pageContext.request.contextPath}/showProductByPage?category=十二月">十二月</a>
<a href="${pageContext.request.contextPath}/showProductByPage">全部成衣作品</a>
</br>
</br>
</br>
</br>
</br>
</br>
<form action="${pageContext.request.contextPath }/menuSearch" id="searchform">
<input type="text" name="textfield" class="inputtable" id="textfield" autocomplete="off" style="width:600px;outline:none;text-align:center;height:40px;border-radius:20px;border:1px solid black;"
onmouseover="this.focus();"
onclick="my_click(this, 'textfield');"
onBlur="my_blur(this, 'textfield');"/>
<a href="#">
<img src="http://www.icontuku.com/png/freepikons-interface/magnifier27.png" border="0" style="margin-bottom:-4px;width:20px;height:22px;" onclick="search()"/>
</a>
</form>
</center>
<div id="banner">
<section>
<a href="${pageContext.request.contextPath}/client/productHome.jsp" style="font-size:16px;width:375px;margin-left:-200px;" class="more scrolly">欢 迎 进 入 设 计 师 作 品 中 心</a>
</section>
</div>