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