Lessons: 19Length: 2.2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.6 Selecting :blank Elements

If you’re familiar with the :empty pseudo-class, you know that it allows you to target elements that do not contain any content. The new :blank pseudo-class is very similar, except that it will allow for whitespace within otherwise empty elements.