Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css img scale-down

/*for scaling down  */
img {
  max-height: 70px;
  max-width: 70px;
  object-fit: scale-down;
}
Comment

scale down image css

img.resize {
    width: 540px; /* you can use % */
    height: auto;
}
Comment

PREVIOUS NEXT
Code Example
Css :: center elements vertically in div 
Css :: css fixed bottom 
Css :: html scrollable without scroll bar 
Css :: jquery css 
Css :: react hide scrollbar 
Css :: keyframe fade down css 
Css :: scrollbar change css 
Css :: css center text in div 
Css :: bg color css 
Css :: multiple text shadow 
Css :: css important 
Css :: css shadow on hover 
Css :: css dynamic grid layout 
Css :: responsive media qurries 
Css :: box shadow border only show left side 
Css :: chrome button black white border 
Css :: how to make font awesome responsive bootstrap 
Css :: calc(100vh - px) 
Css :: how to fix stylelint errors 
Css :: css limit text length 
Css :: how to make image not repeat on background 
Css :: css color gradient background full height 
Css :: padding up down left right 
Css :: css change overflow scrollbar 
Css :: remove background when autofill input css 
Css :: css nth child skip first 
Css :: how to write firefo specific css 
Css :: how to make all buttons same size css 
Css :: css first of type 
Css :: border not showing css 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =