Saltar al contenido (pulsar Return)

Usted está aquí: Inicio / Ficheros compartidos / fitxers / youtube-video.css

youtube-video.css

text/css youtube-video.css — 691 B

Contenido del Archivo

.video-container {
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden;
}
.video-container iframe, .video-container object, .video-container embed {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
}

@media (max-width:576px) {
    .video-container-fluid {
        position: relative; 
        padding-bottom: 56.25%; 
        height: 0; 
        overflow: hidden;
    }
    .video-container-fluid iframe, .video-container-fluid object, .video-container-fluid embed {
        position: absolute; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%;
    }
}