Как создать такой div? (html css)
Ответы (1 шт):
Автор решения: Инквизитор
→ Ссылка
Так.
img {
width: 100px;
height: 100px;
float: left;
margin: 0 10px 10px 0;
background-color: gray;
}
p {
background-color: wheat;
}
div {
width: 300px;
border: 1px solid red;
}
<div>
<img alt="Картинка" />
<p> some text some textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome text</p>
<p> some textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome textsome text</p>
</div>
