| gan ukuran image agar pas pada full layar browser berapa ? atau ada cara lain aga gambar bisa full |
|
| Di inherit aja .. |
|
| kalo di inherit jadinya kosong dong |
|
| di css nya pake background-size: 100% aja |
|
| pake persentase |
|
| tetep aja gan, atau ukuran imagenya di kecilin |
|
| ini fungsinya untuk background apa foto tambahan di web??? |
|
| bener tuh pake %, soalnya resolusi layar itu relatif tergantung perangkat user yg membuka webnya |
|
| <img width="100%" > ??? |
|
| Red Arrow bikin background di body pake Foto tapi nampaknya setengaah gan, udah di persenin juga tetep |
|
| background: url(images/bg.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; |
|
| coba <img src="direktori gambar" style="backround-size: 100%"> |
|
| atau ini #bg { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; } #bg img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; min-width: 50%; min-height: 50%; } |
|
| cssnya tu gan |
|
| oke gan di coba dulu kalo boleh tau ukuran resolusi web biasanya berapa pixel ya, |
|
| start > dxdiag > display |
|
| win xp : start > run > dxdiag > display |
Tidak ada komentar:
Posting Komentar