.logo {
border: 1px solid goldenrod;
}
.logo img {
margin: auto;
border: 1px solid red;
}
the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:the above is the CSS and its HTML is:
<header class="theader">
<div class="logo">
<img src="https://demo.templatic.com/cartsy/wp-content/themes/Cartsy/images/logo.png" alt="" width="100px" height="auto">
</div>
</header>