Uses both types of CSS animation techniques:
- Using the
animation
short-hand property in conjunction with@keyframes
lists. - Using the
transition
shorthand property on elements with different styles in different states.
- Uses
@keyframes
lists andanimation
properties withopacity
andtranslate
for slide/fade-in animation. Restricted use of this technique toopacity
andtransform
properties 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.