CSS shorthands aren't always worth it

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

ShortIntermediateUI1 min

About this video

A short CSS tip arguing that longhand properties can be worth using over shorthands because they lead to fewer conflicts later in a stylesheet.

What you’ll learn

  • Decide when a longhand CSS property is safer than its shorthand