Does anyone use transition or transform in practice? It seems to me very useless tools | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

Does anyone use transition or transform in practice? It seems to me very useless tools

13th Oct 2016, 9:52 PM
Nazar Tamriell
Nazar Tamriell - avatar
3 Antworten
+ 2
I use them all the time! transitions are great for all sorts of things, for example if some button changes it's color, you can make that go smoothly. Or if you want a dropdown menu to drop down, you can move it in instead of it just appearing on the page. The options are endless.. transform is cool, too. you can use it to make stuff bigger or move around, without messing up the rest of the page. If you use 'left: 100px;', evertyhing on the page will shift, however if you use 'transform: translateX(100px)' instead, the rest of the page will stay in place. And of course, transition and transform go very well together :)
13th Oct 2016, 11:30 PM
Schindlabua
Schindlabua - avatar
+ 1
I have been thinking about it. And only one idea I've got so far it's for some loading bars...
13th Oct 2016, 9:53 PM
Nazar Tamriell
Nazar Tamriell - avatar
+ 1
transitions allows you to change property values smoothly (from one value to another), over a given duration.
13th Oct 2016, 10:04 PM
Nazar Tamriell
Nazar Tamriell - avatar