1
對不起,我知道這是超簡單,但我不明白這一點。居中文本在CSS
這是我目前的CSS樣式
@import url(https://fonts.googleapis.com/css?family=Advent+Pro:100);
html {
}
#overlay {
font-family: 'Advent Pro', sans-serif;
font-size: 7em;
margin: .2em .5em;
color: rgba(255, 255, 255, 1);
position: fixed;
right: 0;
}
video#bgvid {
position: fixed;
right: 0;
top: 0;
width: 100%;
height: auto;
z-index: -100;
background-size: cover;
}
我如何中心#overlay?
謝謝!哇,那簡單,也發現它是我把它放在Css作品現在的位置,謝謝! – SnowyWolfy