即時通訊新和我讓this頁面,但我有2個問題。我不瓦納我backgroind重複和我的jQuery的切換不工作:(jquery切換沒有切換,爲什麼我的背景重複
這是我的代碼的一部分,我需要改變,使其工作有什麼
body {
background: url("http://dash.ga.co/assets/anna-bg.png");
background-size: cover;
background-position: center;
}
.first {
background: #000;
background-image: url("http://buddies.koinup.com/group-637.png");
background-size: cover;
background-position: center;
width: 200px;
height: 200px;
position: fixed;
top: 50%;
left: 50%;
margin-top: -100px;
margin-left: -100px;
border: 1px solid #000;
border-radius: 10px;
}
p {
color: rgba(255,255,255,1);
background: black;
background: linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
background: -webkit-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
background: -moz-linear-gradient(bottom, rgba(0,0,0,1), rgba(0,0,0,.4));
padding: 10px;
line-height: 28px;
text-align: justify;
position: absolute;
bottom: 0;
margin: 0;
padding: 3px 65px 3px 64px;
height: 30px;
border-radius: 0px 0px 8px 8px;
transition: height .5s;
-webkit-transition: height .5s;
-moz-transition: height .5s;
}
行動有關的jQuery的錯誤。但是我並不認爲我的背景只能在上面,我希望這個背景圖像能夠在整個頁面中。像這裏一個這裏https://dash.generalassemb.ly/dddd/build-your-own-personal-website – 2014-09-03 10:07:41