We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Hide elements at startup

Home Forums Puzzles Hide elements at startup

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #58963
    rasmusroerbaek
    Participant

    Hi! I’m new to both Verge and coding.

    I’m trying to figure out how to hide an HTML element at site startup.. with the goal: clicking on a 3D object = showing a portfolio element.

    I tried setting my CSS visibility to hidden, but
    can’t figure out how to unhide the element at click.

    How to do this? and also – is there a better/easier way than using CSS for this?

    Best – R

    #58964
    kdv
    Participant

    in CSS set style for your element
    display: none;

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #58965
    rasmusroerbaek
    Participant

    Thx, but which puzzle should I use to display the element back then?

    #58976
    rasmusroerbaek
    Participant

    In CSS with:
    display: none;

    Still can’t get the element to show at click – am I using the wrong setup here? (see attached)

    Attachments:
    You must be logged in to view attached files.
    #58978
    kdv
    Participant

    display: block;

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.