Uses both types of CSS animation techniques:
- Using the
animationshort-hand property in conjunction with@keyframeslists. - Using the
transitionshorthand property on elements with different styles in different states.
- Uses
@keyframeslists andanimationproperties withopacityandtranslatefor slide/fade-in animation. Restricted use of this technique toopacityandtransformproperties for performance reasons.
- Uses pseudo-classes with
translateY
All length and font-sizes are set to rem to be relative to the root property value of 10px, which is set in the _base.scss file. This requires fewer changes when declaring media queries.