Styling Modal Footer0:00
Let's now take a few moments to make things a bit more attractive. For example, we might want a gray background here, but let's have a look. This is my confirmation modal. Yeah, on the footer, you might say background gray, excuse me, of something like 200. But because we've set padding on the parent, it's not going to look good. You're going to get that number there. So a couple options here. And sometimes when you're in this mode, you can just set negative margin equal to whatever the padding you had set on the parent is. So we have P4 set.
Adding Alpine Transitions3:07
This is fine, but why don't we add some subtle transitioning? Now Alpine makes this really easy. So here's our card here. So I could say, let's add x-show here as well, but I can add this little transition. I'm not sure what the term is. Every community is a little different. Is it a directive? Is it a modifier? Is it a flag? Maybe modifier.
