Post HTML Element Class Being Removed

Is this still a valid technique in late 2018 @Mittineague?