• Posted by Uong Jowo
  • Sunday, February 17, 2019
  • Comments 2
A blog or website background image not working on actual mobile devices.
Use css below

1. Left background image:

@media(max-width:480px){
body{
background-image: url("img.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top left;
background-size:350% auto;
}
}
Left background


2. Center background image:

@media(max-width:480px){
body{
background-image: url("img.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top center;
background-size:350% auto;
}
}
Center background

2. Right background image:

@media(max-width:480px){
body{
background-image: url("img.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top right;
background-size:350% auto;
}
}
Right background
«
Next
Newer Post
»
Prev
Older Post

2 komentar:

  1. This is unrelated to the post but I just wanted to know what can I use to make my blog title like your what site did you go to to create it or what can I do to get my titles blog name custom like yours?!

    ReplyDelete
  2. please send me blogger templates info.kmngh@gmail.com

    ReplyDelete

Like Template from me ? please make sure that you entered your right email address !