Skip to content

yoichimichael/natours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natours - Travel Agency Clone

Animations

Uses both types of CSS animation techniques:

  1. Using the animation short-hand property in conjunction with @keyframes lists.
  2. Using the transition shorthand property on elements with different styles in different states.

In Header

h1
  • Uses @keyframes lists and animation properties with opacity and translate for slide/fade-in animation. Restricted use of this technique to opacity and transform properties for performance reasons.
a (.btn)
  • Uses pseudo-classes with translateY

Relative Units

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.

About

nature tour website clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published