Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]
As of the photo to select which part in the css? - bug-code.com Q&A

As of the photo to select which part in the css?

0 like 0 dislike
24 views
lVPb0TvnrOg.jpg
There is a div 560х530рх, they need to bring is the photo of gypsum. option cut in a
asked by | 24 views

3 Answers

0 like 0 dislike
Object-fit https://webref.ru/css/object-fit
Or the image background and bg position
\rhttps://jsfiddle.net/5pfu7Lxy/
answered by
0 like 0 dislike
answered by
0 like 0 dislike
div { width: 560px; height: 530px; overflow: hidden; } img { position: relative; left: 20px; top: 20px; } // or transform img { transform: translate3d(20px, 20px, 0); }
answered by
Welcome to Bug-code Q&A, where you can ask questions and receive answers from other members of the community.

24.8k questions

46.2k answers

0 comments

12.7k users

24,788 questions
46,220 answers
0 comments
12,715 users