How can a resize image logo and put it to header ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can a resize image logo and put it to header ?

13th May 2020, 9:14 PM
Hamzartail
Hamzartail - avatar
3 Answers
+ 1
EmmanueLZ. Thank you
14th May 2020, 10:23 PM
Hamzartail
Hamzartail - avatar
0
?
14th May 2020, 3:56 PM
Moshie Seidenfeld
Moshie Seidenfeld - avatar
0
Hamzartail hi, You can give width and height to your image. Also , instead of putting an img tag in html you can give a background property to a div with your image and use background-size property and all the other background properties. First ressource is about background property: https://css-tricks.com/almanac/properties/b/background-size/ And second can help if you use img tag: https://css-tricks.com/almanac/properties/i/image-rendering/
14th May 2020, 10:09 PM
EmmanueLZ.
EmmanueLZ. - avatar