skip to Main Content

I tried to have an image as an background for my website and I want to place some text on the image,
I dont want the image to stay there entirely like cover even if L scroll. But, should completely cover the entire frame of any device at its initial point without any scroll.

I tried in many ways like backgound image tag.But the image does not move and I dont know how to place text on it.

2

Answers


  1. try it with background-attachment:fixed;

    Login or Signup to reply.
  2. Use image attribute like size and fixed the position and finally used <div.> to create some gap in it .

    .
    .

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search