backgrounds are super important! there are many ways to customize your backgrounds, and i'll be showing you how! please keep in mind that all of this code goes into a .css document, not .html! create a new .css document OR if you already have one, use that. for now, using style.css as the name will be easiest! also, please take time to play around with different codes and see what works and what certian things do! this will increase your fluency in html/css :)





inserting a background:

to insert your background, paste the following into your .css document! replace the "https://url" with the url of your image!


to change the way your background repeats, paste one of the following codes (under the "body" bracket):


to change the size of your background, try out this code and play around with the percentage! (under the "body" bracket):