✏️
GitBook
  • Home
  • Projects
    • ORBI Group. Hotels Services
    • ORBI Group. Sales Support System
    • ORBI Group. Financial Management
    • ORBI Group. Client Cabinet
    • BP. Insurance management admin panel
    • Ciklum. Seaports fisheries containers tracking system
  • Higher Education
    • KNUTD (2018 - 2019)
    • School 42 (2017 - 2020)
  • FLG Preparation
    • Algorithms
      • Basics
        • Learn How To Learn
        • Algo task pattern
        • Space/time complexity
      • Two Pointers
        • Tasks
      • Fast and Slow Pointers
        • Tasks
      • Sliding Window
        • Tasks
      • Merge Intervals
        • Tasks
      • In-place Reversal of a Linked List
        • Tasks
      • Two Heaps
        • Tasks
      • K-Way Merge
        • Tasks
      • Top K Elements
        • Tasks
      • Subsets
        • Tasks
      • Modified Binary Search
        • Tasks
      • Greedy Techniques
        • Tasks
      • Backtracking
        • Tasks
      • Dynamic Programming
        • Tasks
        • 0/1 Knapsack Problem
      • Cyclic Sort
        • Tasks
      • Topological Sort
        • Tasks
      • Matrices
        • Tasks
      • Stacks
        • Tasks
    • Data Structures
      • Doubly Linked List
      • Stack
      • Queue
      • Heap
    • Frontend
    • Resources
  • Courses
    • Animations
    • JS Algorithms and Data Structures Course
      • Add Up To
      • Anagrams
      • Binary Search
      • Divide and Conquer
      • Frequency Counter
      • Sliding Window
      • Two Pointers
    • Nest.js
      • Logging
    • PostgreSQL
      • Sequelize
      • SUM
      • COUNT, DISTINCT (unique)
      • WHERE
      • AND, OR, BETWEEN
      • Practice 1
      • IN, NOT IN
      • ORDER BY
      • MIN, MAX, AVG
      • Practice 2
      • Pattern matching with LIKE
      • LIMIT, check for NULL (IS, IS NOT), GROUP BY, HAVING
      • UNION, INTERSECT, EXCEPT
      • Practice 3
      • INNER JOIN
      • LEFT, RIGHT JOIN
      • SELF JOIN
      • USING & NATURAL JOIN
      • AS
      • Practice 4
      • Practice 5. Subrequests
      • DDL - Data Definition Language
      • Practice 6. DDL
      • Primary & foreign keys
      • Check
      • Default
      • Sequences
      • INSERT
      • UPDATE, DELETE, RETURNING
      • Practice 7. DDL(2)
      • Проектирование БД
      • Нормальная форма (НФ)
      • Представление (View)
      • Создание представления
      • Обновляемые представления
      • Опция Check
      • Practice 8. Views
      • CASE WHEN
      • COALESCE & NULLIF
      • Practice 9. Logic
    • DevOps
      • Linux
        • File System
        • Command Line
        • Package Manager
        • VIM
        • Linux Accounts & Groups (Users & Permissions)
        • Pipes & Redirects
        • Shell / bash scripting
        • Environment Variables
      • Networking
      • SSH
      • Git for DevOps
      • Nexus. Artifact repository manager
      • Docker
      • Jenkins
  • Daily Log
    • 2023
Powered by GitBook
On this page

Was this helpful?

  1. Courses

Animations

PreviousResourcesNextJS Algorithms and Data Structures Course

Last updated 3 years ago

Was this helpful?

transform: translate(x, y) rotate(x, y) scale(x, y) skew(x, y);
transform-origin: x y; // px, em, rem, %, left/right/top/bottom/center
transition-property: width, height; // properties
transition-duration: 1s; // s, ms
transition-property: width, height; // change width and height
transition-duration: 1s, 5s; // width in 1s, height in 5s
transition-timing-function: ease; // linear, ease, ease-in, ease-out, ease-in-out
cubic-bezier(x1, y1, x2, y2);

Examples: 
cubic-bezier(0, 0, 1, 1)  // linear
cubic-bezier(0.42, 0, 1, 1) // ease-in
transition-timing-function: steps(number_of_steps, direction);
.platform {
  animation-name: lift-up;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: normal; // normal - default, reverse, alternate, alternate-reverse
  animation-delay: 1s;
  // element state after animation
  animation-fill-mode: forwards; // none, forwards, backwards, both;
  animation-play-state: running; // running, paused;
  animation-timing-function: ease; // multiple variants;
}

@keyframes lift-up {
  from { // or 0%
    transform: translateY(0px);
  }
  
  50% {
    transform: translateY(-250px);
  }
  
  to { // or 100%
    transform: translateY(-300px);
  }
}
Интерактивные онлайн-курсы HTML AcademyHTML Academy
Интерактивные онлайн-курсы HTML AcademyHTML Academy
Logo
Logo
cubic-bezier.com
Easing Functions Cheat Sheet
Logo