@@ -254,21 +254,30 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.iframe-background {
|
.iframe-background {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 50%;
|
||||||
left: 0;
|
left: 50%;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
border: none;
|
/* Centra l'iframe prima della scalatura */
|
||||||
|
transform: translate(-50%, -50%) scale(1.5);
|
||||||
|
object-fit: cover;
|
||||||
z-index: -2;
|
z-index: -2;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
transform: scale(1.5);
|
|
||||||
transform-origin: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.iframe-background {
|
||||||
|
/* Aumenta la scala per coprire lo schermo stretto e lungo */
|
||||||
|
transform: translate(-50%, -50%) scale(2.5);
|
||||||
|
/* Opzionale: forza una larghezza maggiore per evitare bande nere */
|
||||||
|
width: 300vw;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.title-conteiner {
|
.title-conteiner {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user