I am not new to html or css, however I am using bootstrap 4 for the first time, if that makes a difference in the end.
I had added so far only a background color to the .container on my own style sheet and that went fine. That was literally all I added.
After spending all day yesterday putting together the basic structure of the page, I added a border to one element in my css file and nothing happened. I spent the rest of the day today up until now trying to figure out what I did wrong. Here is what I tried: cleared cache (didn't know if it makes a difference, I am working totally local right now except the bootstrap sheets are connected through the CDN), I refreshed the page, tried ctl+f5, restarted the browser, I validated both html and my css file and had only a warning that my article element lacked a header... and I did a heck of a lot of googling.
Nothing changed. I removed the entire call to my style sheet, that made a difference, the background color disappeared... as I expected. I reconnected the style sheet, removed the background color, and refreshed the page. The background color showed up, and still no border. Finally I cleared the entire css file, nothing left in it, disconnected and reconnected the style sheet (reloading the page in between), reloaded the page again, and the background color came back. Where is it coming from if my css file is even completely empty? I added different styles but the same background color was persistent.
Finally I completely deleted the actual css file from my hard drive, reloaded the page to make sure it wasn't going to STILL be there. Thankfully I got the error connecting to css style sheet. I made a new empty style sheet, reconnected, and everything seems to work fine. All the styles I put in now work fine (so far...).
Any idea what that was about and how I can prevent this from happening again?