<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello World ⚽</title>
<style>
:root {
--grass-dark: #2d7a34;
--grass-light: #38913f;
--chalk: #ffffff;
}
* { box-sizing: border-box; }
body {
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Segoe UI', Arial, sans-serif;
background:
repeating-linear-gradient(
90deg,
var(--grass-dark) 0px,
var(--grass-dark) 80px,
var(--grass-light) 80px,
var(--grass-light) 160px
);
overflow: hidden;
}
.pitch {
position: relative;
width: min(90vw, 760px);
aspect-ratio: 3 / 2;
border: 6px solid var(--chalk);
border-radius: 8px;
box-shadow: 0 20px 50px rgba(0,0,0,0.4);
background: rgba(0,0,0,0.05);
}
/* halfway line */
.halfway-line {
position: absolute;
top: 0;
left: 50%;
width: 6px;
height: 100%;
background: var(--chalk);
transform: translateX(-50%);
}
/* center circle */
.center-circle {
position: absolute;
top: 50%;
left: 50%;
width: 22%;
aspect-ratio: 1;
border: 6px solid var(--chalk);
border-radius: 50%;
transform: translate(-50%, -50%);
}
.center-spot {
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 10px;
background: var(--chalk);
border-radius: 50%;
transform: translate(-50%, -50%);
}
/* goal boxes */
.box {
position: absolute;
top: 50%;
width: 12%;
height: 45%;
border: 6px solid var(--chalk);
transform: translateY(-50%);
}
.box.left { left: -6px; border-left: none; }
.box.right { right: -6px; border-right: none; }
.scoreboard {
position: absolute;
top: 8%;
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.75);
color: var(--chalk);
padding: 14px 34px;
border-radius: 10px;
text-align: center;
letter-spacing: 2px;
z-index: 5;
animation: pop 0.6s ease-out;
}
.scoreboard h1 {
margin: 0;
font-size: clamp(1.5rem, 4vw, 2.6rem);
text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}
.scoreboard p {
margin: 6px 0 0;
font-size: 0.85rem;
opacity: 0.85;
text-transform: uppercase;
}
.ball {
position: absolute;
width: 44px;
height: 44px;
left: 50%;
top: 50%;
margin-left: -22px;
margin-top: -22px;
background:
radial-gradient(circle at 30% 30%, #fff, #eee 40%, #ccc 70%);
border-radius: 50%;
box-shadow: 0 6px 10px rgba(0,0,0,0.4);
animation: roll 3.2s linear infinite;
z-index: 3;
}
.ball::before,
.ball::after,
.ball span {
content: '';
position: absolute;
background: #222;
}
.ball::before {
width: 14px;
height: 14px;
top: 15px;
left: 15px;
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}
@keyframes roll {
0% { transform: translate(-140px, 0) rotate(0deg); }
50% { transform: translate(140px, 0) rotate(540deg); }
100% { transform: translate(-140px, 0) rotate(1080deg); }
}
@keyframes pop {
0% { transform: translateX(-50%) scale(0.5); opacity: 0; }
70% { transform: translateX(-50%) scale(1.08); opacity: 1; }
100% { transform: translateX(-50%) scale(1); }
}
.whistle-note {
position: absolute;
bottom: 6%;
left: 50%;
transform: translateX(-50%);
color: var(--chalk);
font-size: 0.75rem;
opacity: 0.8;
letter-spacing: 1px;
}
</style>
</head>
<body>
<div class="pitch">
<div class="halfway-line"></div>
<div class="center-circle"></div>
<div class="center-spot"></div>
<div class="box left"></div>
<div class="box right"></div>
<div class="scoreboard">
<h1>⚽ HELLO WORLD ⚽</h1>
<p>Kickoff • Full Time Greeting</p>
</div>
<div class="ball"><span></span></div>
<div class="whistle-note">🎉 GOOOOAL! Thanks for visiting the pitch.</div>
</div>
</body>
</html>
Nothing. This page is entirely self-contained and contacts no other website when it runs.
Published on Globefin under the MIT License. You may copy, change, and reuse this page, including commercially — just keep the notice below with it.
Copyright © 2026 Maxwell Miller. Licensed under the MIT License. Published on Globefin.
Provided as is, without warranty. Any external libraries it loads keep their own licences. Terms →
Scripts run, but the demo has its own throwaway origin. It can't read your session or cookies, can't reach the page around it, and can't navigate your tab. Don't enter real passwords or personal data into any demo.