Hello, there is a block of his background (pictures), which are repeated on the y axis, the pictures are by default repeated from top to bottom and I need the pictures to be repeated from bottom to top, so that the lowest picture is complete and dock to it another footer picture. No one came across such a situation?
- Did not quite understand the question. Maybe you need a background position? - andreyqin
- @andreyqin, here's a block he has a css background: url (../ images / bg_popup.png) repeat-y; and here the pictures repeating against the background of y start from the top and end from the bottom, and here the latest image always ends not intact, but I need a whole picture to dock the lower picture, you know :) - bemulima
- Well, then make the offset from above by the required amount using background-position. But then the picture above will be incomplete. - andreyqin
- @ andreyqin, mm, well, yes, a good idea, only I cannot know the required value because the height of the block depends only on the materials in it. I couldn’t find out the height of the block at all, I already raised this question hashcode.ru/questions/235709/… , I thought I could have some other moves there - bemulima
|
1 answer
background: url("your_image.jpg") center bottom repeat-y;
- @dekameron, beautiful !!! Thank you, bliiin as I was suffering for a long time, I already started to think how to do it with the help of JS)) Thank you !!! - bemulima
- one@bemulima, before using JS, CSS needs to be properly crafted)) Although, specifically in this case, it is difficult to even call it violence :) - dekameron
|