我想調整箭頭大小(右側,灰色)來調整大小,並像徽標(中)一樣運行。當您向左或向右調整瀏覽器窗口時,灰色箭頭的大小調整良好。但是,當您使瀏覽器窗口更高或更高(向上/向下調整)時,箭頭可以沿着屏幕的右側放置。調整圖像的大小不是'正常'
如果箭頭可以將他的當前位置固定並像頁面中間的(清醒)標誌那樣調整行爲/調整大小,那就太好了。
該問題位於類:.ArrowUp中。
你可以在這裏找到整個網站 - >https://dl.dropboxusercontent.com/u/61634717/Website.zip
#HomePageLogo {
height: auto; /*120*/
width: auto; /*450*/
text-align:center;
padding-top:19%;
padding-right:35%;
padding-bottom:15%;
padding-left:35%;
}
body {
/*background:#000000; -- Test achtergrond -- */
/*background-image:url('../Pictures/HomePage/Background_HomePage1.jpg');*/
background: #2E2E2E url('../Pictures/HomePage/Background_HomePage1.jpg') no-repeat top left;
background-size:cover;
background-repeat:no-repeat;
width:auto;
height:0px;
}
img {
max-width:100%;
height:auto;
}
.ArrowUp {
position:absolute;
top:53%;/* ?? */
right:1%;
bottom:0%; /* ?? */
left:88%;
}
的新種類的HTML CSS &。歡迎任何幫助或改進。
你想讓箭頭總是以背景圖片爲中心嗎? –
那會很好 – user3004449