@extends('layouts.admin.master') @section('title')AOS Animation {{ $title }} @endsection @push('css') @endpush @section('content') @component('components.breadcrumb') @slot('breadcrumb_title')
AOS.init();data-aos attribute to html element, like so:
data- part).
| Attribute | Description | Example value | Default value |
|---|---|---|---|
data-aos-offset
|
Change offset to trigger animations sooner or later (px) | 200 | 120 |
data-aos-duration
|
*Duration of animation (ms) | 600 | 400 |
data-aos-easing
|
Choose timing function to ease elements in different ways | ease-in-sine | ease |
data-aos-delay
|
Delay animation (ms) | 300 | 0 |
data-aos-anchor
|
Anchor element, whose offset will be counted to trigger animation instead of actual elements offset | #selector | null |
data-aos-anchor-placement
|
Anchor placement - which one position of element on the screen should trigger animation | top-center | top-bottom |
data-aos-once
|
Choose wheter animation should fire once, or every time you scroll up/down to element | true | false |