How can i make image size big usign css? : I want to make image size big but it is not happening with below code, How can i achieve that task using css ?

navbar.html

    <a class="navbar-brand"><img src="assets/images/logo.png" id="logo"></a>

css 

    #logo {
        height: 40px;
    }
    
        .navbar-brand>img {
            max-height: 100%;
            height: 100%;
            width: auto;
            margin: 0 auto;
            -o-object-fit: contain;
            object-fit: contain;
        }