Как воспроизвести анимацию Вавилона в ReactJsJavascript

Форум по Javascript
Ответить
Anonymous
 Как воспроизвести анимацию Вавилона в ReactJs

Сообщение Anonymous »

Эй, поэтому я пытаюсь воспроизвести этот эффект кода, который они используют Babel, и моя страница находится в React и Taillide, и я пробовал много вещей, но не смог воспроизвести эффект PS- я также установил GSAP. The effects I want is:

Only one card fully visible at a time


When you scroll, the next card zooms in from the background


Old cards scale down and stack behind (Как многослойная 3D -колода)import { StackedCards } from 'react-stacked';

const industries = [
{
name: 'Healthcare',
icon: '🏥',
description: 'HIPAA-compliant solutions for providers and payers',
},
{
name: 'Finance',
icon: '💳',
description: 'Secure fintech and banking solutions',
},
{
name: 'E-commerce',
icon: '🛒',
description: 'Scalable platforms for online retailers',
},
{
name: 'Education',
icon: '🎓',
description: 'EdTech solutions for institutions and learners',
},
{
name: 'Manufacturing',
icon: '🏭',
description: 'Industry 4.0 and smart factory solutions',
},
{
name: 'Logistics',
icon: '🚚',
description: 'Supply chain optimization and tracking',
},
];

const IndustriesStackScroll = () => {
return (

Industries We Serve
(

{industry.icon}
{industry.name}
{industry.description}

)}
/>

);
};

export default IndustriesStackScroll;
< /code>
import IndustriesStackScroll from "../../Component/Home/IndustriesScrollStack";




Подробнее здесь: https://stackoverflow.com/questions/796 ... in-reactjs
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Javascript»