.teste {
width: 500px;
height: 200px;
border: 1px rgb(89,89,89) solid;
background: -moz-linear-gradient(top, rgba(239,242,48,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(34,125,203,0) 52%, rgba(125,185,232,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(239,242,48,1)), color-stop(50%,rgba(41,137,216,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(52%,rgba(34,125,203,0)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(239,242,48,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(34,125,203,0) 52%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(239,242,48,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(34,125,203,0) 52%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(239,242,48,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(34,125,203,0) 52%,rgba(125,185,232,0) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(239,242,48,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(34,125,203,0) 52%,rgba(125,185,232,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eff230', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */
}
#coberturas{
font:Lucida Sans;
display:block;
bottom:0;
box-sizing: border-box;
background-color:#FF9911;
width:200px;
}
<div id="teste" class="teste">
<h2> Coberturas </h2>
<div id="coberturas" class="coberturas"></div>
<ul>
<a href="fotos.php?id=5"> <li><img src="imagens/01.jpg" width="100" height="100" /> <br/>
<legend> <span>29/05/2015 - TUPACIGUARA MG</span> <br /> <h1>EXPO CAPITU</h1></legend></li></a>
</ul>
</div>
Could you also post along with your question the code you’re trying to do this with? And if possible add more details, because the question seems to be a little vague...
– Chun
What exactly do you want to do? Who’s inside that div? Set a height with
overflow:hidden;
css does not solve? We need more details to help you– Erlon Charles
I will edit the post, with the code
– Gustavo Cardoso
era of this you were looking for @Gustavocardoso ?
– Chun
I voted for reopening, issue 6 seems to have made clear the goal.
– Guilherme Nascimento