Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

style image so it crops

.alligator-turtle {
  object-fit: cover;
  object-position: 100% 0;

  width: 300px;
  height: 337px;
}
Source by alligator.io #
 
PREVIOUS NEXT
Tagged: #style #image #crops
ADD COMMENT
Topic
Name
6+3 =