✻ In Changing the Cursor with CSS for Better User Experience (or Fun), Geoff Graham looks back at how useful the olde :hover selector still is:
...it's easy to overlook cursors and their impact on the user experience of our sites. Remember when we learned ::selection was a thing and every site started using it to personalize the background color of text selections? Customizing cursors is just as easy and adds that extra bit of understated flourish when used correctly.
✻ Robin Rendle continues his series on CSS Modules by looking at how to get started. If you’ve never used or heard of Webpack before then Robin takes us on a helpful step-by-step guide to walk us through that process.
✻ David Corbacho describes the differences between debouncing and throttling, which happens to be critical when planning features so that our websites are always fast and performant.
 

What we’ve been reading, listening and watching

Rachel Andrew discusses the philosophical and technical differences between the Flexbox and Grid specs. She writes:
[With flexbox] space distribution happens across that row or column, you lose the ability to line things up with items in rows above.

Here we find the biggest difference between Grid and Flexbox. Flexbox is essentially for laying out items in a single dimension – in a row OR a column. Grid is for layout of items in two dimensions – rows AND columns.
So this suggests that in the future overall page layout should be done with Grid whilst Flexbox can be used on smaller chunks of the user interface.
In unrelated :checked news: it’s interesting just how much can be done with the :checked trick on a input, and this time is no different as our pal Una Kravets has made a game based on this idea:
I really love — 1 — clever hacks and — 2 — pushing the limits of CSS. Many people don't realize how powerful it is (especially when combined with the preprocessing prowess of Sass). This post combines those two loves. While it may or may not be something your next client will ask for, there is value in experimenting and pushing boundaries to really understand a language. You too, can make games with just CSS!
 
In other news around the web
 
A note from the archives

Way back in 2013 Chris wrote about Mediocre ideas, showing up, and persistence which contains a lot of great advice, and doesn’t just apply to writing or design or starting a publication about CSS:
Truly great ideas are rare. Jokers like us will probably never have one. That’s OK. We have mediocre ones all the time and they work just fine. I once had an idea to start a blog about CSS. I sucked at writing. I sucked at designing. The vibe at the time was that everything important about CSS had already been written. Nobody told me.
 
What have you learnt this week?

Chris Coyier:

I don't know.

Thirty seconds ago I just had to reply to an email where that's essentially what I said. Someone was experiencing a JavaScript error in their console that I hadn't seen before. I wasn't able to replicate it. Maybe (just maybe) I could have figured it out if I really dug into it. Maybe I would have spun my wheels for hours. I didn't really feel like investigating, so I told them the truth: "I don't know." It's hard for me to remember that sometimes that's an acceptable answer.



Until next time!
Team CSS-Tricks
Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.