A page that says hello world featuring basketball legends
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hello World — Basketball Legends</title>
<style>
:root{--ink:#fff8ed;--muted:#c8c0b5;--orange:#ff7b22;--gold:#ffd166;--court:#142b42;--panel:#193a55}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;background:#091827;color:var(--ink)}
body{overflow-x:hidden}.page{min-height:100vh;position:relative;display:flex;flex-direction:column;padding:clamp(22px,5vw,64px);isolation:isolate}
.page:before{content:"";position:absolute;inset:0;z-index:-2;background:radial-gradient(circle at 85% 10%,#ff7b2230,transparent 29%),linear-gradient(135deg,#091827,#102c45 65%,#2d1d1c)}
.page:after{content:"";position:absolute;z-index:-1;right:-11vw;top:15vh;width:42vw;height:42vw;border:2px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 45px #ffffff0b,0 0 0 90px #ffffff06}
header{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1200px;width:100%;margin:auto auto 34px}
.kicker{color:var(--gold);font-size:.8rem;font-weight:800;letter-spacing:.19em;text-transform:uppercase}
.score{font-size:.9rem;color:var(--muted);border:1px solid #ffffff2c;border-radius:30px;padding:9px 14px}
main{width:100%;max-width:1200px;margin:auto}
h1{font-size:clamp(3.8rem,11vw,9rem);line-height:.82;letter-spacing:-.08em;margin:0;color:var(--ink);max-width:900px}
h1 span{color:var(--orange);display:block}.intro{display:flex;align-items:end;justify-content:space-between;gap:30px;margin:25px 0 42px}
.intro p{max-width:430px;color:var(--muted);font-size:1.05rem;line-height:1.55;margin:0}
.ball{width:92px;height:92px;flex:0 0 auto;border-radius:50%;background:var(--orange);border:4px solid #ffb15e;position:relative;box-shadow:0 13px 30px #0006;animation:float 2.7s ease-in-out infinite}
.ball:before,.ball:after{content:"";position:absolute;background:none;border:3px solid #552516}
.ball:before{width:115%;height:48%;left:-10%;top:23%;border-left:0;border-right:0;border-radius:50%}
.ball:after{height:115%;width:48%;left:23%;top:-10%;border-top:0;border-bottom:0;border-radius:50%}
@keyframes float{50%{transform:translateY(-13px) rotate(8deg)}}
.section-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin-bottom:14px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}
button.card{font:inherit;text-align:left;color:var(--ink);background:linear-gradient(150deg,#214b68,#142e47);border:1px solid #ffffff20;border-radius:18px;padding:20px;min-height:188px;cursor:pointer;transition:.25s;position:relative;overflow:hidden}
button.card:hover,button.card:focus-visible{transform:translateY(-7px);border-color:var(--gold);outline:none;box-shadow:0 13px 25px #0004}
button.card:focus-visible{box-shadow:0 0 0 3px var(--gold),0 13px 25px #0004}
.card:after{content:attr(data-number);position:absolute;right:12px;top:4px;font-size:6rem;font-weight:900;color:#ffffff0a;line-height:1}
.avatar{width:48px;height:48px;display:grid;place-items:center;background:var(--orange);color:#20130f;border-radius:50%;font-size:1rem;font-weight:900;margin-bottom:22px}
.card h2{font-size:1.15rem;margin:0 0 5px}.card p{margin:0;color:#b9ced8;font-size:.86rem;line-height:1.4}.card em{display:block;color:var(--gold);font-style:normal;font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;margin-top:15px}
footer{max-width:1200px;width:100%;margin:35px auto 0;display:flex;justify-content:space-between;gap:20px;align-items:center;color:var(--muted);font-size:.85rem}
#status{color:var(--gold);font-weight:bold}
@media(max-width:800px){.grid{grid-template-columns:repeat(2,1fr)}.intro{align-items:center}.ball{width:70px;height:70px}}
@media(max-width:500px){.page{padding:25px 18px}.intro{margin:20px 0 30px}.intro p{font-size:.92rem}.grid{gap:9px}button.card{padding:15px;min-height:165px}.avatar{margin-bottom:18px}footer{display:block;line-height:1.8}}
</style>
</head>
<body>
<div class="page">
<header><div class="kicker">A tiny tribute to greatness</div><div class="score">⟡ 01 / 08</div></header>
<main>
<h1>Hello <span>World.</span></h1>
<div class="intro"><p>Meet a few of the game’s unforgettable architects — the dreamers, dynasties, and shot-makers who made the hardwood feel larger than life.</p><div class="ball" aria-label="Animated basketball"></div></div>
<div class="section-label">Select a legend</div>
<div class="grid">
<button class="card" data-number="23" data-name="Michael Jordan"><div class="avatar">MJ</div><h2>Michael Jordan</h2><p>Air, clutch moments, and six championship chapters.</p><em>Chicago · 1984–2003</em></button>
<button class="card" data-number="33" data-name="Kareem Abdul-Jabbar"><div class="avatar">KA</div><h2>Kareem Abdul-Jabbar</h2><p>The skyhook, timeless touch, and a towering legacy.</p><em>Milwaukee / L.A.</em></button>
<button class="card" data-number="33" data-name="Larry Bird"><div class="avatar">LB</div><h2>Larry Bird</h2><p>Precision passing, fearless shooting, and Boston grit.</p><em>Boston · 1979–1992</em></button>
<button class="card" data-number="32" data-name="Magic Johnson"><div class="avatar">MJ</div><h2>Magic Johnson</h2><p>Showtime brilliance and a pass that saw everything.</p><em>L.A. · 1979–1991</em></button>
<button class="card" data-number="6" data-name="Bill Russell"><div class="avatar">BR</div><h2>Bill Russell</h2><p>Defense, leadership, and a ring collection like no other.</p><em>Boston · 1956–1969</em></button>
<button class="card" data-number="21" data-name="Tim Duncan"><div class="avatar">TD</div><h2>Tim Duncan</h2><p>Quiet excellence, bank shots, and fundamental mastery.</p><em>San Antonio · 1997–2016</em></button>
<button class="card" data-number="30" data-name="Stephen Curry"><div class="avatar">SC</div><h2>Stephen Curry</h2><p>Range without limits and a revolution from deep.</p><em>Golden State · 2009–</em></button>
<button class="card" data-number="13" data-name="Wilt Chamberlain"><div class="avatar">WC</div><h2>Wilt Chamberlain</h2><p>Impossible numbers from an impossible physical force.</p><em>Philadelphia · 1959–1973</em></button>
</div>
</main>
<footer><span id="status">The floor is yours.</span><span>Made for the love of the game 🏀</span></footer>
</div>
<script>
document.querySelectorAll('.card').forEach(card=>{
card.addEventListener('click',()=>{
document.getElementById('status').textContent='Now celebrating: '+card.dataset.name+' ✦';
document.querySelectorAll('.card').forEach(c=>c.style.background='linear-gradient(150deg,#214b68,#142e47)');
card.style.background='linear-gradient(150deg,#a94b20,#633121)';
});
});
</script>
</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 Luke Sells. 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.