Use class and css mixins consistently in template and examples (#11648)