Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS PLS HELP WITH THIS @MEDIA QUERY

  • This topic is empty.
Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #127035
    CodeGraphics
    Participant

    @ChrisP, I removed the 1 in all of them, still it’s not working. It’s showing only the first and last queries.
    Check the [codepen.](http://codepen.io/anon/pen/esvwo “”).

    But [this](https://css-tricks.com/examples/LarkQueries/ “”) is working perfectly as I resize the browser.

    #127036
    CodeGraphics
    Participant

    No, it shows only the first and third queries.

    @media screen and (min-width:921px) {
    body:before {
    content: ‘A CSS-TRICKS GUEST AUTHOR!!!’}
    }

    @media screen and (max-width:910px) {
    body:before {
    content: ‘Unconventional.’}
    }

    #127038
    wolfcry911
    Participant

    you’re missing a closing curly brace in the css (after flabbergasting).

    #127039
    ChrisP
    Participant

    @CodeGraphics, it was broke at Unconventional because you didn’t have the two closing braces…

    http://codepen.io/ChrisPlz/pen/jKJCe

    It _is_ showing all of the queries, but it’s kinda hard to tell when they’re only 10px apart.

    #127043
    CodeGraphics
    Participant

    Perfect. You guys are wizards. Thank you wolfcry911 and ChrisP. The problem was the **unclosed curly brace in the css (after flabbergasting)**

    Thank you. This is a great forum.

Viewing 5 posts - 16 through 20 (of 20 total)
  • The forum ‘CSS’ is closed to new topics and replies.