DEV Community

Discussion on: Writing Logic in CSS

Collapse
 
yw662 profile image
yw662

I wonder...would these styles perform better than plain javascript ?

Collapse
 
iamschulz profile image
Daniel Schulz

No, you'd only add another step to the render pipeline. No Javascript is always faster than Javascript.

Some comments have been hidden by the post's author - find out more