@keyframes blinking {
	0% {
		opacity: 1;
		transform: translateY(0vh);
	}

	50% {
		opacity: 0;
		transform: translateY(75vh);
	}

	100% {
		opacity: 1;
		transform: translateY(0vh);
	}
}

section {
	animation: blinking 3s infinite ease-in-out;
}
body {
	--base: 20px;

	display: grid;
	font-family: 'Helvetica', sans-serif;
	gap: var(--base);
	padding: var(--base);
}

section {
	background-color: gold;
	padding: calc(var(--base) / 2);
}

h2 { font-size: calc(var(--base) * 3); }
<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link href="/assets/styles/reset.css" rel="stylesheet">
		<link href="setup.css" rel="stylesheet">
		<link href="style.css" rel="stylesheet">
	</head>
	<body>
		<section>
			<p>This element is animated!</p>
		</section>
	</body>
</html>