Bootstrap
Bootstrap5
Banniere
300X300
Multimedia
Html
Template Bootstrap 5 de bannière 300x300 avec contenu multimedia et overlay gradient attrayant.
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bannière Pro Animée - Modern Design</title>
<!-- Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 20px;
}
/* ========== BANNIÈRE ========== */
.banner {
width: 300px;
height: 300px;
border-radius: 20px;
overflow: hidden;
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.3),
0 0 60px rgba(0, 188, 212, 0.2),
inset 0 0 30px rgba(255, 255, 255, 0.05);
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 25px 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid rgba(0, 188, 212, 0.3);
}
.banner:hover {
transform: translateY(-5px);
box-shadow:
0 30px 80px rgba(0, 0, 0, 0.4),
0 0 80px rgba(0, 188, 212, 0.4),
inset 0 0 30px rgba(255, 255, 255, 0.08);
border-color: rgba(0, 188, 212, 0.6);
}
/* Background dégradé moderne */
.banner::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
rgba(0, 188, 212, 0.1) 0%,
rgba(63, 81, 181, 0.1) 50%,
rgba(156, 39, 176, 0.1) 100%
);
animation: gradientShift 8s ease infinite;
z-index: 0;
}
.banner::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
45deg,
transparent 0%,
rgba(255, 255, 255, 0.05) 50%,
transparent 100%
);
animation: shimmer 3s ease-in-out infinite;
z-index: 0;
}
@keyframes gradientShift {
0% {
background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(63, 81, 181, 0.1) 50%, rgba(156, 39, 176, 0.1) 100%);
}
50% {
background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(0, 188, 212, 0.1) 50%, rgba(63, 81, 181, 0.1) 100%);
}
100% {
background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(63, 81, 181, 0.1) 50%, rgba(156, 39, 176, 0.1) 100%);
}
}
@keyframes shimmer {
0%, 100% {
transform: translateX(-100%);
}
50% {
transform: translateX(100%);
}
}
/* Contenu relatif */
.banner-content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 100%;
height: 100%;
}
/* Logo en haut à droite */
.banner-logo {
position: absolute;
top: 15px;
right: 15px;
width: 45px;
height: 45px;
background: linear-gradient(135deg, #00bcd4 0%, #3f51b5 100%);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 700;
font-size: 1.2rem;
box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
z-index: 3;
animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-8px);
}
}
/* Icône animée */
.banner-icon {
font-size: 3.5rem;
background: linear-gradient(135deg, #00bcd4 0%, #3f51b5 50%, #9c27b0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: float 3s ease-in-out infinite;
margin-bottom: 15px;
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-15px);
}
}
/* Titre */
.banner-title {
color: #00bcd4;
font-size: 0.75rem;
font-weight: 700;
line-height: 1.4;
text-transform: uppercase;
letter-spacing: 2px;
animation: slideInDown 0.8s ease;
margin: 8px 0;
}
@keyframes slideInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Texte principal */
.banner-text {
color: rgba(255, 255, 255, 0.95);
font-size: 1rem;
font-weight: 600;
line-height: 1.5;
animation: fadeInUp 0.8s ease 0.2s both;
margin: 12px 0;
background: linear-gradient(135deg, #ffffff 0%, #b3e5fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Bouton animé */
.banner-btn {
background: linear-gradient(135deg, #00bcd4 0%, #3f51b5 100%);
border: 2px solid transparent;
color: white;
padding: 10px 24px;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
animation: fadeInUp 0.8s ease 0.4s both;
position: relative;
overflow: hidden;
display: inline-block;
box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}
.banner-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
z-index: -1;
}
.banner-btn:hover::before {
left: 100%;
}
.banner-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 35px rgba(0, 188, 212, 0.5);
border-color: rgba(255, 255, 255, 0.3);
}
/* Badge bottom left */
.banner-badge {
position: absolute;
bottom: 15px;
left: 15px;
background: rgba(0, 188, 212, 0.15);
border: 1px solid rgba(0, 188, 212, 0.3);
padding: 6px 12px;
border-radius: 20px;
font-size: 0.7rem;
color: #00bcd4;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
z-index: 3;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 0.6;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.05);
}
}
/* Particules animées */
.particle {
position: absolute;
background: radial-gradient(circle, rgba(0, 188, 212, 0.4) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
z-index: 1;
}
.particle-1 {
width: 80px;
height: 80px;
top: -40px;
right: -40px;
animation: pulse-particle 4s ease-in-out infinite;
}
.particle-2 {
width: 60px;
height: 60px;
bottom: -30px;
right: -30px;
animation: pulse-particle 5s ease-in-out infinite 1s;
}
.particle-3 {
width: 50px;
height: 50px;
top: 50%;
left: -25px;
animation: pulse-particle 4.5s ease-in-out infinite 0.5s;
}
@keyframes pulse-particle {
0%, 100% {
opacity: 0.2;
transform: scale(1);
}
50% {
opacity: 0.6;
transform: scale(1.3);
}
}
/* Cercles décoratifs */
.banner-circle {
position: absolute;
border: 1px solid rgba(0, 188, 212, 0.2);
border-radius: 50%;
z-index: 0;
animation: rotate 20s linear infinite;
}
.circle-1 {
width: 180px;
height: 180px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.circle-2 {
width: 140px;
height: 140px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
animation: rotate 25s linear infinite reverse;
border-color: rgba(63, 81, 181, 0.2);
}
@keyframes rotate {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(360deg);
}
}
/* Ligne animée */
.banner-line {
position: absolute;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.5), transparent);
z-index: 0;
animation: slideRight 3s ease-in-out infinite;
}
.line-1 {
width: 100px;
top: 30%;
left: -100px;
}
.line-2 {
width: 100px;
bottom: 30%;
right: -100px;
animation: slideLeft 3s ease-in-out infinite;
}
@keyframes slideRight {
0%, 100% {
left: -100px;
opacity: 0;
}
50% {
opacity: 1;
}
100% {
left: 100%;
opacity: 0;
}
}
@keyframes slideLeft {
0%, 100% {
right: -100px;
opacity: 0;
}
50% {
opacity: 1;
}
100% {
right: 100%;
opacity: 0;
}
}
/* Responsive */
@media (max-width: 768px) {
body {
padding: 20px;
}
.banner {
width: 280px;
height: 280px;
padding: 20px 15px;
}
.banner-icon {
font-size: 2.8rem;
}
.banner-title {
font-size: 0.7rem;
}
.banner-text {
font-size: 0.9rem;
}
.banner-logo {
width: 40px;
height: 40px;
font-size: 1rem;
}
}
</style>
</head>
<body>
<!-- BANNIÈRE PRO ANIMÉE MODERNE -->
<div class="banner">
<!-- Cercles décoratifs -->
<div class="banner-circle circle-1"></div>
<div class="banner-circle circle-2"></div>
<!-- Particules -->
<div class="particle particle-1"></div>
<div class="particle particle-2"></div>
<div class="particle particle-3"></div>
<!-- Lignes animées -->
<div class="banner-line line-1"></div>
<div class="banner-line line-2"></div>
<!-- Logo Top Right -->
<div class="banner-logo">
DG
</div>
<!-- Badge Bottom Left -->
<div class="banner-badge">
<i class="bi bi-lightning-charge-fill me-1"></i>Pro
</div>
<!-- Contenu -->
<div class="banner-content">
<!-- Icône -->
<div class="banner-icon">
<i class="bi bi-rocket-takeoff"></i>
</div>
<!-- Titre -->
<div class="banner-title">
Transformation Digitale
</div>
<!-- Texte Principal -->
<div class="banner-text">
Au cœur de votre métier.
</div>
<!-- Bouton -->
<a href="#" class="banner-btn">
Découvrir<i class="bi bi-arrow-right ms-2"></i>
</a>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>