aos animate

This commit is contained in:
tangly1024.com
2023-03-07 12:31:20 +08:00
parent 94c07e8cac
commit dc40b4b16b
11 changed files with 13 additions and 13 deletions

View File

@@ -15,9 +15,9 @@ const BlogPostCard = ({ post, showSummary, index, siteInfo }) => {
<div
key={post.id}
data-aos="fade-up"
data-aos-duration="600"
data-aos-duration="300"
data-aos-easing="ease-in-out"
data-aos-once="false"
data-aos-once="true"
data-aos-anchor-placement="top-bottom"
className={`flex md:flex-row flex-col-reverse ${index % 2 === 0 ? 'md:flex-row-reverse' : ''}
w-full md:h-72 h-96 justify-between overflow-hidden drop-shadow-md