Forums

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

Home Forums CSS I have been struggling with this for too long

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

    Hi guys,
    I’ve been struggling with this menu thing for way too long now. I desperately needyour help!

    What I want to do is that I would like to have the menu, that consists of 4 images, centered at all times and that they are following the size of the logo (when resizing the window or visiting with a mobile), so that it looks like the logo and menu are one piece. I have managed to get the logo to follow the window size but not the menu.

    You can see the page here: http://iktor.se/dalafilm
    And the code for the menu here: http://codepen.io/anon/pen/GoYWNO

    This might be super easy, but my head just can’t get around it.
    Sorry for any bad grammar, as you might already have guessed, English is not my first language.
    Let me now if something is missing!
    BEST REGARDS!

    #237752
    valespring
    Participant

    Here’s a quick and dirty version:

    http://codepen.io/valespring/pen/obaWwM

    Note: You are loading more stuff into the document for no reason (aka two images) and using more CSS than is required. I used transform to do a different transition that uses the same HTML elements throughout.

    Hope this helps.

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