Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css image size adjust

squareImage {
  border: 1px solid #ddd;	/* thickness and color of border */
  border-radius: 4px;		/* edge rounding of border */
  width: 150px;				/* width of image (px or % or auto) */
  height: auto;				/* height of image (px or % or auto) */
}
 
PREVIOUS NEXT
Tagged: #css #image #size #adjust
ADD COMMENT
Topic
Name
5+3 =