Jump to content

Miscare iconite onmouseover?


Mr.bEnZ

Recommended Posts

Incearcă tutorialele astea - astea trebuie sa le iei ca exemple :

Un exemplu de efect ar putea să fie următorul:

.class {
  width: 50px;
  height: 50px;
  background-color: #0595ff;
  transition: all 0.5s;
}

.class:hover {
  background-color: #cf371d;
}

with: setează lățimea pe 50px;

height: seletează inălțimea pe 50px;

background-color: setează culoarea fundalului pe #0595ff (albastru).

transition: iți permite să schimbi valorile pe o anumită durată (ex: 1s - 0.5s etc).

// - Explicare: Atunci când pui mouse-ul pe div-ul respectiv iți schimbă culoarea de la #0595ff cu #cf371d pe durata de 0.5s.

* Chestiile astea se fac in CSS și nu in HTML. Vreau să te atenționez data viitoare să postezi in categoria corectă, că unde ai postat acum este categoria greșită.

  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...
  • gaby changed the title to Miscare iconite onmouseover?

Join the conversation

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

Guest
Reply to this topic...

×   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.