Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.
Page 12 of 26
🔥 What's the deal with flexbox stretching images? Use align-self: center; on your <img> to fix.
🔥 OS X Tip: Most apps will let you ⌘ + Click the title bar to view and open parent folders
🔥 Quick Flexbox Tip Video
🔥 Super handy CSS Clip Path generator →
🔥 Express' res.format() is a nice way to handle both HTML form submits and JSON API requests in a single request
🔥 2 neat things about <img> when src fails. You can:
👉
🔥 Use object-fit:cover; on <img> and <video> to get that background-size: cover; effect
🔥 JavaScript Coding Challenge!
Filter this list of homes for the ones that match the list of needs.
🔥 Git Tip: Use git add -p to review and add changes hunk-by-hunk. Handy when you want to break a single file's changes into two commits
git add -p
🔥 Text Pastry + Sublime Multiple Cursors is one of my favourite combos