const App: React.FC = () => {
const elementRef = useRef<HTMLElement>([] as any);
useEffect(() => {
console.log(elementRef.current);
}, [elementRef]);
return (
<>
<Header />
<Nav />
<About />
<Contact />
<Footer />
</>
);
};
export default App;
.image:hover {
transform: rotate(0);
transform: translateY(.5px);
transform: scale(1.01);
}