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 :: grid css fr width of content 
Css :: backdrop filter css 
Css :: increase space between dashed border css 
Css :: flex: 0 1 auto 
Css :: loading animation css 
Css :: Submit Button CSS Class 
Css :: how to put a circle in input 
Css :: two classes css modules 
Css :: css hover rounded corners 
Css :: transition behaviour in css 
Css :: make footer stick to bottom without overlap over other elements 
Css :: Button CSS normal active hover 
Css :: css when i add a border radius to input problem 
Css :: css forbidden cursor 
Css :: To set HTML attribute and css styles in html helper control in mvc 
Css :: text background in css 
Css :: css accent 
Css :: how to disable keyboard in windows 10 
Css :: what is css 
Css :: send element to center of div 
Css :: css grid example 
Css :: css id selector 
Css :: z-index on position absolute 
Css :: css keep aspect ratio image 
Css :: boostarp grid npm css react 
Css :: disable on print margin html 
Css :: css how to find all ids that end with something 
Css :: https request 
Css :: css validator 
Css :: two shadows css 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =