Using CSS to set an image size
Hi,
I have an image placed inside <header> tags with a class named "main-head" asigned to the <header> as follows...
<header class="main-head"><img src="images/MyLogo.svg" alt="My logo"/> </header>... Currently, when I start out with a small browser viewport and make it larger, the image grows in size as I make the browser viewport larger. I would rather keep it at a fixed size of my choosing.
I am wondering if anyone here can tell me if/how I can do this using CSS?
Ultimately, I'd like to use media queries to increase the size of the image at specific breakpoints rather than having it grow progressively. Any advice will be greatly appreciated.
Thanks in advance,
Paul
PS... As this is more of a general web design / HTML / CSS question more than it is specific to Dreamweaver, please feel free to tell me if this forum is not an appropriate place for me to have posted this.
