Closed bob2517 closed 2 years ago
Makes me wonder if there are other action commands that could do with having a selector added to expand the syntax. Will look at this later though.
This is functional offline. Just a couple of error checks to put in place and that should be that.
This is done offline. It means you'll be able to do this when it goes live (assuming the img was pre-rendered with display set to none, or opacity at 0:
img:draw {
fade-in: 1s inline-block;
}
It is now officially a thing of beauty. Hopefully I've covered all scenarios now.
Will work with any display option, like table-cell or whatever. Eg.
img:draw {
fade-in: 1s table-cell;
}
Closing in preparation for release.
I ran into this myself the other day. I forgot that you needed to add a selector to fade-in and I thought it was busted.
Solution: allow fade-in, fade-to and fade-out to work on the target selector if no selector specified. Will add this in for 2.9.0 as it shouldn't take very long.