Ported attribute selctor to class in similar style like .size-1 to
optimize css render speed. According to csslint