3
我有我的website,如果向上滾動,您會看到標題正好在中心線上方。我無法弄清楚如何讓它和紫色的一樣。有任何想法嗎?標題不垂直對齊
代碼綠色頁標題:
.main section.page3 h1 {
text-align: center;
padding: 0;
margin-bottom: 0;
font-size: 70px;
letter-spacing: -1px;
color: black;
}
,紫頁:
.main section.page2 > img {
position: absolute;
top: -300px;
left: 50%;
margin-left: -1095px;
我有什麼:
我想要什麼:
非常感謝。我一直在玩它幾個小時。 – Alex
@ user3217296不客氣,很高興幫助。 –
@ user3217296然後您應該將此答案標記爲已接受。 –