on Using attr() to Apply Classes and Style Rules