0

I am working on a responsive web design. For some resolutions like below 800px across, I hide a whole div with syntax such as:

@media only (max-width : 800px) {
    div.well._menu {
        display: none;
    }
}

How do I bring the div back to its default if the display property has not been declared originally? Do I use inherit?

    @media only (min-width : 801px) {
        div.well._menu {
            display: inherit;
        }
    }
3
Contributors
3
Replies
35
Views
4 Years
Discussion Span
Last Post by dwlamb
0

or, just don't put anything for display and it's natural state will take over. At least, I believe that to be the case...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.