Ticker

6/recent/ticker-posts

Background images with HTML & CSS



In this video, I look at how to set a background image, problems people run into with them and how to fix them, and finish things off with a bonus tip on readability.

🔗 Links
✅ How to select things in your CSS:
✅ Why you should use Firefox when learning CSS:
✅ How I update the browser on save:
✅ How to control your background-images:

⌚ Timestamps
00:00 – Introduction
00:47 – Don’t have the images in your HTML
01:29 – Use an external CSS file
03:45 – Linking a background image in an external CSS file
05:58 – Fallback background-color
06:45 – Don’t use heights
08:21 – When the image doesn’t show up
10:43 – background-repeat
12:26 – When an image is too big
14:36 – Making an image fit
16:59 – BONUS – making the text readable

#css

Come hang out with other dev’s in my Discord Community
💬

Keep up to date with everything I’m up to

Come hang out with me live every Monday on Twitch!
📺

Help support my channel
👨‍🎓 Get a course:
👕 Buy a shirt:
💖 Support me on Patreon:

My editor: VS Code –

I’m on some other places on the internet too!

If you’d like a behind the scenes and previews of what’s coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Twitter:
Codepen:
Github:

And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!

source

Post a Comment

0 Comments