Awesome glowing text animation with CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState } from "react"; | |
export default function FormWithKey() { | |
const [childKey, setChildKey] = useState(1); | |
return ( | |
<div style={{ display: "flex", gap: "0.5rem", flexDirection: "column" }}> | |
<button onClick={() => setChildKey(prev => prev * -1)}> | |
Reset child by changing child Key | |
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
CSS Battle skull drawing. | |
linked to CSS battle from ZTM | |
watched tutorial at youtube link. | |
https://cssbattle.dev/play/4 | |
https://www.youtube.com/watch?v=acNZ5RUzxdU&ab_channel=GalGur | |
--> | |
<style> | |
body { |