Favor instant visual changes
Animations, whether created with CSS or performed by JavaScript, generate lots of repaint/reflow. It is thus better to use instant rather than animated changes in order to use less CPU resources.
Choose a design that is simple, clear and tailored to the web
Use the features offered by HTML5 and CSS3 to design a website. It is important that you do not attempt to build a website without first taking into account technical constraints.