Why would you bother to code background-repeat no repeat, it won't repeat of you don't put it in anyway, surely?!?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why would you bother to code background-repeat no repeat, it won't repeat of you don't put it in anyway, surely?!?!

23rd Mar 2016, 6:28 PM
Menelik Simpson
Menelik Simpson - avatar
4 Answers
+ 1
I think its done because when your frame is large and it has a small picture which would repeat to fill as a background image, that has to be restricted using the "background-repeat" function.
7th Apr 2016, 1:07 PM
archit
+ 1
It's not a nuisance, it's an opportunity. For when you want to put it in there but you only want it one time.
23rd Apr 2016, 6:41 PM
Eddy M
+ 1
let me try : 'no repeat' seems not necessary. but may have something to do with other css codes in the same page. some codes on repeats before may inherits down to where you are. so to 'no repeat' it is save measure!
14th Jul 2016, 6:07 AM
Alexis Cheuk Yan Lee
Alexis Cheuk Yan Lee - avatar
0
it starts from the top left and repeats vertically and horizontally to fill the page unless background-repeat is used to restrict this
2nd Dec 2016, 1:37 AM
Itoroabasi Unang
Itoroabasi Unang - avatar