Artwork

Content provided by Tom Hazledine. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Tom Hazledine or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

72: CSS Extravaganza!

34:21
 
Share
 

Manage episode 267717892 series 2508938
Content provided by Tom Hazledine. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Tom Hazledine or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

In a tweak to the usual format, this week's show is a frontend-focused rapid-fire question bonanza. Ed's been doing some CSS work this week, and has a lot of questions for Tom (a self-styled CSS expert, whatever that means).

What's wrong with `innerHTML`? And for that matter, why is `eval()` so evil? Should you use `px`, `pt`, `em`, or `rem` (or something else) when setting sixes in CSS? What's the deal with browser prefixes (`-moz-`, `-webkit-` etc.)? Are you a bad programmer if you use a z-index of `99999`? (Spoilers: probably). Is it *ever* appropriate to use `!important` in your CSS? Should you use IDs or classes? And to finish with a famously easy question; how do you name things? Find out all this and more in this week's rapid-fire instalment of A Question of Code.

Mentioned in this episode:

  continue reading

96 episodes

Artwork

72: CSS Extravaganza!

A Question of Code

142 subscribers

published

iconShare
 
Manage episode 267717892 series 2508938
Content provided by Tom Hazledine. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Tom Hazledine or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

In a tweak to the usual format, this week's show is a frontend-focused rapid-fire question bonanza. Ed's been doing some CSS work this week, and has a lot of questions for Tom (a self-styled CSS expert, whatever that means).

What's wrong with `innerHTML`? And for that matter, why is `eval()` so evil? Should you use `px`, `pt`, `em`, or `rem` (or something else) when setting sixes in CSS? What's the deal with browser prefixes (`-moz-`, `-webkit-` etc.)? Are you a bad programmer if you use a z-index of `99999`? (Spoilers: probably). Is it *ever* appropriate to use `!important` in your CSS? Should you use IDs or classes? And to finish with a famously easy question; how do you name things? Find out all this and more in this week's rapid-fire instalment of A Question of Code.

Mentioned in this episode:

  continue reading

96 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide