Skip to main content
22 events
when toggle format what by license comment
Dec 11, 2017 at 16:08 history reopened TylerH
Shog9
Dec 11, 2017 at 14:45 review Reopen votes
Dec 11, 2017 at 16:09
Dec 11, 2017 at 14:33 history edited BoltClock
edited tags
Dec 11, 2017 at 14:29 history edited TylerH CC BY-SA 3.0
Trimmed up the question, removed irrelevant tags.
Dec 9, 2017 at 23:33 history closed charlietfl
Nope
sol
R. Richards
Makyen
Needs more focus
Dec 8, 2017 at 20:17 comment added tao @Paulie: If we use the term state we need to defne it. And finding a complete and proper definition for it (in the context of a DOM element) can prove challenging. It is safer to say transitions refer to changes in value of animatable properties designated in transition-property.
Dec 8, 2017 at 18:38 history edited BoltClock CC BY-SA 3.0
added 12 characters in body
Dec 8, 2017 at 18:31 comment added BoltClock @Paulie_D: I posted an answer.
Dec 8, 2017 at 18:31 answer added BoltClock timeline score: 4
Dec 8, 2017 at 18:02 history edited Shog9 CC BY-SA 3.0
attempt to make title look a bit more like the question, maybe side-step some of the knee-jerk reactions
Dec 8, 2017 at 17:53 comment added Ronald @charlietfl I don't think my question breaks any rules, I believe my question meets all requirements of a "constructive subjective question" according to the help center.
Dec 8, 2017 at 17:28 comment added user7833580 Please edit your question and be more specific.
Dec 8, 2017 at 17:27 answer added tao timeline score: 7
Dec 8, 2017 at 17:15 comment added BoltClock @Paulie_D: Yeah, I'm having trouble thinking of other ways to start transitions that don't require JS myself. But that's only because CSS itself is limited in that area; as you said, transitions are about state change, regardless of how that state change is invoked (JS or not).
Dec 8, 2017 at 17:12 comment added Paulie_D Ah...yes, I was thinking without JS but you make a good point.
Dec 8, 2017 at 17:07 review Close votes
Dec 9, 2017 at 23:36
Dec 8, 2017 at 17:06 comment added BoltClock @Paulie_D: Transitions are just changes in property values. You can setTimeout a callback that changes a certain style property of an element, and it will start a transition. You can have the callback instead change a class, id or attribute of the element, or even move it around in the DOM tree, and if the stylesheet has rules setting different values for that property, it will also start a transition. I plan to expand on this in an answer with some examples.
Dec 8, 2017 at 17:03 comment added Paulie_D @BoltClock Does the question break down to "Is there a way to start transitions without interaction from the user?" - Arguably there must be some user interation to cause the state change....right?
Dec 8, 2017 at 16:55 comment added BoltClock The question is fine, it just needs a less close-baity title. But the answer is that you don't actually require a selector for a transition to occur.
Dec 8, 2017 at 16:50 comment added charlietfl This is asking for a tutorial on initializing transitions/animations and is too broad a scope based on site guidelines outlined in the help center
Dec 8, 2017 at 16:49 comment added Paulie_D Transitions are only implemented on a change in state. That is not going to happen unless the user changes something. You might be asking about animations which are related but different.
Dec 8, 2017 at 16:47 history asked Ronald CC BY-SA 3.0