Skip to content

Commit ccd733e

Browse files
committed
container index
1 parent e94b908 commit ccd733e

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

css/styles.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
<a class="navbar-brand" href="./index.html">Metal Stretch</a>
4444
</div>
4545
</nav>
46-
<div class="row">
46+
<div class="container">
47+
<div class="row row-titulo">
4748
<div class="col-6 offset-2">
4849
<h1 class="animate__animated animate__rotateInDownLeft">Metal</h1>
4950
</div>
@@ -55,6 +56,8 @@ <h2 class="animate__animated animate__bounceIn animate__delay-2s"><span>Mecaniza
5556
</div>
5657
</div>
5758
</header>
59+
</div>
60+
5861
<footer id="footer">
5962
<div class="footer-top">
6063
<div class="container">

scss/_body.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
text-align: center;
203203
color: $gris-clarito;
204204
}
205-
205+
/* productos */
206206
.carousel-inner {
207207
div {
208208
img {
@@ -300,7 +300,7 @@
300300
margin: 20px 0 30px 0;
301301
margin: 15px;
302302
@media (max-width: 700px){
303-
width: 100%;
303+
width: 90%;
304304
height: auto;
305305
}
306306
}

scss/_header.scss

+8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
margin-top: 10%;
1414
margin-left: 0;
1515
margin-right: 0;
16+
width: 370px;
17+
@media (min-width: 750px){
18+
width: auto;
1619
}
20+
}
1721

1822
h1 {
1923
font-family: 'Black Ops One', cursive;
@@ -56,4 +60,8 @@
5660
}
5761
}
5862
}
63+
}
64+
.row-titulo{
65+
width: 360px;
66+
height: auto;
5967
}

0 commit comments

Comments
 (0)