This tutorial shows how to style elements using data attributes instead of using a class or the id. It is a useful technique for when you are working with dynamic data. The example uses Meta Box and Bricks, but the idea is the same that could be applied to other builders like Breakdance or Oxygen.

Applying Styles Using Data Attributes
Lua Nguyen @ metabox.io • 2 weeks ago