Hi, everyone. Is it possible to do this for a long time? I wonder if it is possible to adjust the number of variables that are sprayed according to the browser size when sprinkling variables on the template.
Images <width x length 100px> variables are sprinkled so that the screen is always 100% full
Is it possible to increase or decrease the number of images sprayed instead of changing the resolution and size of the image?
Is it possible?
django python
What do you mean by 100px by 100px is sprinkled with variables?
If you want to fill the background with a repetition of a specific image according to the screen size, CSS's background You can use properties.
body {
background-image: url("paper.gif");
background-repeat: repeat;
}
Go to the link below and change repeat-y
to repeat
and press the run button.
http://www.w3schools.com/cssref/tryit.asp?filename=trycss_background-repeaty
It's possible.
However, I think this is something that needs to be solved at the front end rather than Django. Depending on the size of the browser, it is desirable to request a specific number, or to resolve it at the front and end so that only a specific number is visible.
© 2024 OneMinuteCode. All rights reserved.