BACK ⟲

Animatii CSS simple pentru website-ul tau

Daca un design bun face ca website-ul tau sa iasa in evidenta fata de competitori, animatiile vor da suflet acestuia si vor incanta vizitatorii.

Animatiile dintr-un website pot fi foarte complicate, uneori fiind necesar sa fie scrise multe linii de cod folosind CSS si JS. De data asta ne vom concentra pe un numar mic de animatii, scrise doar in CSS, pe care oricine le poate implementa foarte usor in site-ul lor pentru a face ca lucrurile sa fie mai dinamice si placute.

Prima categorie de animatii sunt cele de hover unde miscarea mouse-ului peste un element va porni animatia. Avem la alegere doua metode: folosind transition sau animation. Primul element (cerc in exemplul nostru) isi va schimba culoarea si textul ascuns va aparea folosind transition iar al doilea element isi va schimba dimensiunile folosind animation si transition. Avantajul la animation este puterea de control mult mai mare asupra animatiei. (pe mobil atingeti cercurile cu degetul sa porniti animatia si apoi oriunde sa o terminati)

Hover!

Hover!

Cod sursa pe Codepen

A doua categorie de animatii sunt cele care se repeta la infinit. Se pot forma elemente jucause pe site sau elemente care sa atraga atentia vizitatorului asupra unei zone importante a site-ului.

!

!

Cod sursa pe Codepen

Indiferent de ce tip de animatie introducem in website acestea trebuie sa se alinieze intotdeauna cu design-ul folosit. In acelasi timp trebuie sa avem grija sa nu introducem prea multe elemente care sa afecteze performanta. Intr-un articol viitor vom discuta despre animatiile de la incarcarea unei pagini si cele care pornesc de la un click.

More posts

How long does a rebrand take, and what do you lose by rushing it?

A rebrand takes about 7 months on average, from first talks to rollout, according to a Bynder survey of 1,002 marketers. 8% of them worked on projects of 1-2 years. Your timeline depends on how [...]

Read More... from Animatii CSS simple pentru website-ul tau

Read the post

How to name a brand: what sticks to you for 6 years?

You choose a brand name with 5 tests: it is easy to say, it is legally free, it is available online, it says something about your direction and it can grow with the company. The [...]

Read More... from Animatii CSS simple pentru website-ul tau

Read the post

FMCG packaging design: what can you lose on shelf in 7 weeks?

Good FMCG packaging keeps the cues shoppers use to find your product in a few seconds and changes the rest with method. Tropicana lost 20% of Pure Premium sales in 7 weeks after its new [...]

Read More... from Animatii CSS simple pentru website-ul tau

Read the post

Gap pulled its new logo after one week. What comes first: strategy or identity?

Strategy first, then identity. Strategy sets what your company promises and to whom. Identity makes the promise visible. In the INOVEO archive, strategy appears for 45 of the 96 clients with a detailed file, and [...]

Read More... from Animatii CSS simple pentru website-ul tau

Read the post

INOVEO
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.