Team portrait grid in HTML and CSS
Four team members with portrait, name, role and a link to their professional profile.
Here is an excerpt of this component's code in HTML and CSS. The full code is free for members, ready to copy into your project.
This component also comes in
The code in HTML and CSS
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Grille de portraits d'équipe</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="demo">
<section class="tgrid">
<h2>L'équipe</h2>:root {
--tg-text: #0b1b3a;
--tg-muted: #46577a;
--tg-link: #1d4ed8;
--tg-ring: #1d4ed8;
--demo-bg: #f8faff;
--demo-text: #0b1b3a;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
--tg-text: #e6edff;Free component: copy it freely, including for commercial projects.
Other teams components in HTML and CSS
Teams components in HTML and CSS
A team presentation filtered by trade in one click, with the number of people announced to screen readers.
- Tailwind
- React
- CSS
- WordPress