Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

img position css

image in the center of the block.

img{
  object-fit: none;
  object-position: center center; // or 50% 50% 
}
 
PREVIOUS NEXT
Tagged: #img #position #css
ADD COMMENT
Topic
Name
7+2 =