Grow your CSS skills. Land your dream job.

Transitions on float?

  • # August 13, 2011 at 10:56 pm

    I was just wondering if was possible to put a transition on float? Basically I want to go from {float:right;} to {float:none;} with a transition. Is this possible?
    Thanks,
    Cliff

    # August 13, 2011 at 11:58 pm

    As far as I know, you can’t. I think what you’d want to do is use animations.

    # August 14, 2011 at 5:05 am

    No you can’t…for the type of effect you’re after I suspect you would have to use positioning and transition that.

    # August 14, 2011 at 6:28 am

    +1 to what @Paulie_D said.

    # August 14, 2011 at 12:46 pm

    Hmmm… Well, thanks anyway.
    -Cliff

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".