Forums

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

Home Forums CSS Change position of an element – responsive website

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #166400
    romullus
    Participant

    Hi guys!

    How can i change the position of an element from being left to being right in a smaller screen?

    This is for wider screens:

    .bars {
        position:absolute;
        top: 0px;
        left: 5%;
    }
    

    and i would like to position it right:10px for the smaller screen.

    Thanks.

    ================================================

    I made a jsfiddle link: http://jsfiddle.net/romullus/5u64M/

    ================================================

    #166407
    romullus
    Participant

    Thank you very much! :)

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