An warware: hoton bangon html ya dace da allo

Babban matsalar da ke da alaƙa da hotunan bangon HTML ɗin da suka dace da allon shine cewa hoton bazai yi girma da kyau ba. Wannan na iya haifar da gurɓataccen hoto ko miƙewa, wanda zai iya zama mai jan hankali da kuma kawar da tsarin gaba ɗaya na shafin. Bugu da ƙari, idan hoton ya yi girma don allon, yana iya haifar da jinkirin lokacin lodi da rashin aiki.

<style> 
    body { 
        background-image: url("background.jpg"); 
        background-size: cover; 
    } 
</style>

1.

Wannan zai sa hoton bango ya dace da allon ba tare da la'akari da girmansa ba.

Shafi posts:

Leave a Comment