css mber section changes
This commit is contained in:
@@ -404,4 +404,32 @@ blockquote a {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 10px black;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.perso {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: 40px;
|
||||
color: white;
|
||||
/* texte lisible sur la vidéo */
|
||||
min-height: 500px;
|
||||
/* tu peux ajuster */
|
||||
}
|
||||
|
||||
/* vidéo en background */
|
||||
.perso .bg-video {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
/* contenu par-dessus la vidéo */
|
||||
.perso .content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
Reference in New Issue
Block a user