Postingan lainnya
Kelas Premium!
Belajar bikin website dari nol sekarang
Gunakan kupon "lebihcepat" untuk diskon 25%!
Bagaimana cara fix background ?
Ini kenapa ? background nya cuma sampai di tag h1-h3 di kasih position : fixed .. jadi saya tidak pakai position fixed ... bisa tapi nanti ndak bisa buat footer karena antiscroll ada yang cara fix in ? newbie :D bagian script html
Bagian css
Pas di website nya
0
4 Jawaban:
coba tutup dulu div class="content" tu gan
1
coba gini gan
<div class="content">
<h1>Test Test Test Test Test</h1>
<h2>test h2 test h2 test h2</h2>
<h3>test h3 test h3 test h3</h3>
<a href="">LOGIN</a>
<a href="">SIGNUP</a>
</div>
.content {
background-image: url("path image agan");
background-size: cover;
background-repeat: no-repeat;
text-align: center;
padding: 10px 0 10px 0;
}
h1, h2, h3, a {
color: white;
}
dah ane coba dan ter-cover semua ampe link LOGIN & SIGNUP
2