'How to select a multiple classes inside a two condition class?

HTML code:

<html class="mobile portrait">
    <body>
        <div>
            <header>
                <img class="company_logo">
            </header>
            <section>
                <div>
                    <img class="company_logo">
                </div>
            </section>
            <footer>
                <img class="company_logo">
            </footer>
        </div>
    </body>
</html>

In order to display: none;, How can I apply one rule to .company_logo while .mobile .portrait?:


Update: Edited HTML code to add multiple company_logo. Code deleted from the question:

/* CSS code */
.mobile .portrait > body > div > header > .company_logo {
    display: none;
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source