Yup, though the different way to do it with data- attributes and no content in the stylesheet was also written about here [1] in 2012, and demo'd here [2] at the bottom of the page in the "No more tables" example.
We've been using this same technique in several projects where it seemed appropriate for the past few years and have been loving it.
[1] https://css-tricks.com/responsive-data-table-roundup/
[2] http://elvery.net/demo/responsive-tables/#no-more-tables