Skip to content

Commit

Permalink
changes in iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
anaaragon88 committed Dec 16, 2024
1 parent a722e54 commit aa4d410
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 class="title-video">Fórmate con Factoría F5</h2>
<div class="video-box">
<iframe
width="400"
height="800"
height="600"
src="https://www.youtube.com/embed/y4M6og7lPYI"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
Expand Down
7 changes: 4 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ header {

.logo {
margin: 50px;
max-width: 500px;
max-width: 700px;
}

.container {
Expand Down Expand Up @@ -158,7 +158,8 @@ header {
}

.coder-icon {
width: 20px;
width: 70px;
margin-right: 50px;
}

.video-box {
Expand Down Expand Up @@ -189,7 +190,7 @@ header {
.iframe-container iframe {
width: 620px; /* Ajusta al doble del tamaño del contenedor */
height: 1100px; /* Ajusta al doble del tamaño del contenedor */
transform: scale(0.3); /* Reduce el contenido al 50% */
transform: scale(0.9); /* Reduce el contenido al 50% */
transform-origin: 0 0; /* Comienza el escalado desde la esquina superior izquierda */
position: absolute;
top: -30px; /* Ajusta para centrar verticalmente */
Expand Down

0 comments on commit aa4d410

Please sign in to comment.