Skip to content

Instantly share code, notes, and snippets.

@Raja0sama
Created February 12, 2021 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raja0sama/87e9f6845444417125d635f4d9e37a14 to your computer and use it in GitHub Desktop.
Save Raja0sama/87e9f6845444417125d635f4d9e37a14 to your computer and use it in GitHub Desktop.
Splash Screen text 2
import logo from "./logo.svg";
import "./App.css";
import { useEffect, useRef, useState } from "react";
function App() {
const [state, setstate] = useState(40);
useEffect(() => {}, []);
return (
<div className="Splash">
<div
style={{
position: "absolute",
top: 0,
right: 0,
left: 0,
bottom: 0,
display: "flex",
justifyContent: "center",
alignItems: "center",
zIndex: 8,
}}
>
<p className={"front"} style={{ color: "#16141c", margin: "auto" }}>
Shining Text Animation Effects
</p>
</div>
<p style={{ zIndex: 9 }} className={"front frontA"}>
Shining Text Animation Effects
</p>
</div>
);
}
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment