CSS
语言:
CSSSCSS
确定
* {
margin: 0;
padding: 0;
}
body {
background: #fff;
background-image: -webkit-linear-gradient(top left, #fff, #b4b4b4);
background-image: linear-gradient(to bottom right, #fff, #b4b4b4);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
#background {
z-index: -1;
opacity: 1;
position: fixed;
top: 0;
width: 100%;
height: 100%;
background-image: url(http://www.transparenttextures.com/patterns/pinstriped-suit.png);
background-size: 12%;
background-attachment: fixed;
background-repeat: repeat;
/*------------- COLORS ------------*/
}
#reset,
#submit,
.inputname {
background: firebrick;
color: #000;
font-family: 'Exo', sans-serif;
}
#reset:hover,
#submit:hover {
background: #ef7126;
border-color: #218c8d;
}
input[type="range"] {
background: #333;
/*------------------------------------------*/
}
#image {
z-index: 20;
overflow: hidden;
float: left;
width: 66%;