Search
 
SCRIPT & CODE EXAMPLE
 

CSS

make an image smaller css

css:
.example-class {
    width: 400px;
    height: auto;
}

html:
<img class="example-class" src="example.jpg"/>
Comment

PREVIOUS NEXT
Code Example
Css :: less calc with variable 
Css :: border color gradient tailwind 
Css :: place many images in a div beautifully 
Css :: roboto google apis 
Css :: textarea resize only horizontal 
Css :: left and right box shadow only 
Css :: read properties from css file 
Css :: how to make a triangle in css 
Css :: circle button html 
Css :: input placeholder css 
Css :: css position sticky 
Css :: remove border radius select css 
Css :: kotlin string to int 
Css :: how to add fade-in with page transition 
Css :: css backdrop filter blut 
Css :: how to prevent select image in css 
Css :: adding border to text css 
Css :: css animation stay at end 
Css :: tint image css 
Css :: nth child css tricks 
Css :: @keyframes 
Css :: centre align in position absolute 
Css :: the difference between nth-child() and nth-of-type() 
Css :: css align text 
Css :: css margin top 
Css :: center text in css 
Css :: css position fixed center 
Css :: best box shadow 
Css :: radial gradient css 
Css :: css gradient 3 colors 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =