Menu

A football club website in plain HTML and Tailwind CSS 4, with a 44-line build script
📰

A football club website in plain HTML and Tailwind CSS 4, with a 44-line build script

DEV Community: css·Roman (Dan Fisher) Perevala·15 days ago
#TB2sW5zv
#devtocss#devto#dev#crest#team
Reading 0:00
15s threshold

Most football clubs I know run their website on whatever a volunteer set up years ago. So when I made a free template for them, I set two rules. It has to work as a folder of static files you can upload anywhere. And someone who knows a bit of HTML has to be able to change it without learning a framework.

The result is Golden Team, a one-page site for a made-up club: the next match, latest results, fixtures, the league table, player of the month, the squad, news, a join form and the club's partners, in light and dark mode.

Live demo

Code on GitHub

Ready-to-upload zip

These are the parts that took some thought.

Includes without a framework

A club page repeats itself a lot: four result cards, six fixture rows, eight player cards, each with different data.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.