Sabtu, 26 Maret 2016

Latihan HTML

#halaman1{ width:1335px; height:75px; background:#666666 } #halaman{ width:1000px; height:1800px; margin:20 auto; background:white } #halaman2{ width:1000px; height:1000px; margin:20 auto; background:white } #headln{ width:960px; height:200px; float:right; background:#003333; border-radius:50px 50px 50px 50px; margin:20px 20px 0px 20px } #headln1{ width:700px; height:60px; border-bottom-left-radius:50px; background:#003333; float:left; margin-left:20px; } #headln2{ width:920px; height:160px; background:#003366; border-radius:50px 50px 50px 50px; float:left; margin:20px 0px 0px 20px } #headln3{ width:400px; height:120px; background:#003366; float:right; margin:20px 0px 0px 20px } #menu ul{ background:#003333; padding:0 0 px; position:relative; box-shadow:0 0 10px rgba(0,0,0,.25); list-style:none; float:right } #menu ul:after{ content:""; clear:both; display:block } #menu ul li{ float:left } #menu ul li:hover{ background:blue; } #menu ul li a{ display:block; color:white; padding:10px 10px; text-decoration:none } #menu ul li:hover a{ color:white; } #menu ul li:hover > ul{ display:block; } #menu ul ul{ background:darkblue; position:absolute; padding:0; top:100%; display:none } #menu ul ul li{ float:none; position:relative } #menu ul ul li a{ padding:10px 30px; color:white; } #menu ul ul li a:hover{ background:blue; color:white } #menu ul ul ul{ position:absolute; left:100%; top:0; } #konten{ width:960px; height:1000px; float:right; background:white; margin:0px 20px 20px 20px } #kontenn{ width:960px; height:650px; float:right; background:white; margin:0px 20px 20px 20px } #konten1{ width:920px; height:800px; float:right; background:white; margin:20px 20px 20px 20px } #konten2{ width:920px; height:500px; float:right; background:white; margin:20px 20px 20px 20px }