Jump to content
  • 0

Centrare logo ips 4 (deflection)


Mr.Fazendo

Question

5 answers to this question

Recommended Posts

  • 1
56 minutes ago, Julianxpp said:

.logo img {
    max-height: inherit;
    max-width: 100%;
    left: 0;
    right: 0;
    position: absolute;
}

 

.logo img:hover {
    transform: rotate(360deg);
    transition: 0.4s all ease-out;
}

Acum am observat si partea cu rotatia. Schimbi tu din 360deg in cat vrei, eu am pus atat ca sa revina la pozitia normala, la fel si cu durata animatiei, o setezi tu la cate secunde vrei + adauga "transition" si in [.logo img { ] pentru a se rotii inapoi cand nu mai faci hover.

  • Thanks 1
Link to comment
Share on other sites

  • 0
1 hour ago, Julianxpp said:

.logo img:hover {
    transform: rotate(360deg);
    transition: 0.4s all ease-out;
}

Acum am observat si partea cu rotatia. Schimbi tu din 360deg in cat vrei, eu am pus atat ca sa revina la pozitia normala, la fel si cu durata animatiei, o setezi tu la cate secunde vrei + adauga "transition" si in [.logo img { ] pentru a se rotii inapoi cand nu mai faci hover.

Multumesc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.