Picture emerges for the block?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
id=
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ligula augue, tempus rhoncus rutrum in, mattis vel metus. Aliquam at neque neque. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque dapibus ipsum quis massa vestibulum non malesuada leo tempor. Sed venenatis ac mauris. Maecenas ultrices est purus, faucibus faucibus ipsum interdum vel. Phasellus sapien urna, venenatis eget lacus a vestibulum ultrices massa. Duis tristique feugiat leo, at aliquam erat. Aenean tincidunt dapibus est, sed aliquam nibh fringilla id. Duis neque mi, sed dignissim lacinia vel, laoreet eu nisl. Vivamus iaculis rutrum rutrum. Donec at nibh quis ex pharetra varius sed et arcu. Donec laoreet dignissim leo. Donec pulvinar metus elit, quis. nulla luctus et. Aliquam erat est, suscipit nec maximus laoreet, ornare at justo. Pellentesque nec auctor lectus. Ut finibus porttitor nulla. Maecenas id quam eu aliquet vestibulum tellus. Donec ac metus porta.

#about_text{ width: 45vw; font-family: "Robo Thin",arial; margin-left: 5vw; margin-top: 2vh; font-size: 3.3 vmin; } #ltd{ float: right; } #about{}

How to make picture climbs for about a block and occupied the entire free text, width?
Link
by | 7 views

3 Answers

0 like 0 dislike
for example
#about{
max-width:200px;
}

#about img{
width:100%;
}
by
0 like 0 dislike
Use overflow : hidden for the container or the width of 100% for the img and you will be happy ;)
by
0 like 0 dislike
Egorian, And how it and the width will scale and height simultaneously, while not losing aspectRatio?
\rhttps://codepen.io/wokster/pen/odeojE?editors=1100
Maybe not understood You correctly, you can try different background-size (cover, contain)
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,431 users