ancho maximo css

CSS
.contenedor{
width:90%;
max-width: 1000px;
border:10px solid #000;
}
Source

Also in CSS: