-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBackgroundCircles.tsx
30 lines (27 loc) · 1.01 KB
/
BackgroundCircles.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react'
import {motion} from "framer-motion"
type Props = {}
function BackgroundCircles({}: Props) {
return (
<motion.div
initial={{
opacity:0,
}}
animate={{
scale:[1,2,2,3,1],
opacity:[0.1,0.2,0.4,0.8,0.1,1.0],
borderRadius:["20%","20%","50%","80%","20%"],
}}
transition={{
duration:2.5,
}}
className='relative flex justify-center items-center '
>
<div className=' absolute border border-[#333333] rounded-full h-[200px] w-[200px] mt-52 animate-ping'/>
<div className=' absolute border border-[#333333] rounded-full h-[500px] w-[500px] mt-52 '/>
<div className=' rounded-full border border-[#F7AB0A] opacity-20 h-[300px] w-[300px] absolute mt-52 animate-pulse'/>
<div className=' absolute border border-[#333333] rounded-full h-[650px] w-[650px] mt-52 '/>
</motion.div>
)
}
export default BackgroundCircles