I am recently in the world of html and css, almost 2 weeks I am doing these pictures, but I would like the part of rojito that is a button, that will remove its properties (wight, line height, etc) that is why see so, I would like it to always remain below the square, it is only below when the text is abundant. Try with bottom 0, but I get it wrong, I do not put the css because I guess it's wrong, but I put the html.
Thanks.
<div class="hospital">
<div class="hospital-img">
<img src="img/huesitos.png">
</div>
<div class="hospital-description">
<ul>
<li>
<h2>Traumatologia</h2>
</li>
<li>
<p>Nos encargamos de las lesiones traumáticas de columna y extremidades que afectan a: Huesos: fracturas (fractura de femur, fractura de húmero, fractura de Colles), epifisiólisis, etc. </p>
</li>
</ul>
</div>
<div class="book">
<a href="#">Más Informacion</a>
</div>
</div>
CSS
.hotel {
border: 2px solid #FFF;
margin: 20px auto;
padding: 10px 0px 0px 0px;
width:25%;
border-radius:10px;
}
.hotel li{
display: inline-block;
}
.hotel-img {
text-align: center;
margin-top: 20px;
}
.hotel-description {
text-align: justify;
width: 90%;
}
.book {
bottom: 0;
width: 100%;
}
a {
bottom: 0;
background-color: #D7263D;
color: #FFF;
display: block;
font-family: 'Pontano Sans', sans-serif;
font-size: 16px;
padding: 14px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
h1 {
color: #FFF;
font-size: 70px;
font-weight: 900;
margin: 0;
padding-top: 120px;
text-align: center;
text-transform: uppercase;
}
h2 {
color: #FFF;
margin: 0;
text-align: center;
}
h3 {
color: #D7263D;
font-size: 32px;
margin: 0;
position: relative;
text-align: left;
text-transform: uppercase;
}
p {
color: rgba(255, 255, 255, 0.75);
margin: 0;
text-align: left;
}