@extends('layouts.simple.master') @section('title', 'AOS Animation') @section('css') @endsection @section('main_content')
AOS.init();
All you have to do is to add data-aos
attribute to html element, like so:
These settings can be set both on certain elements, or as
default while initializing script (in options object without
data- part).
There are several predefined animations you can use already: