xvemanuelvx
posted this
26 January 2023
With this code you can animate the complete popup. The shadow as well as the popup, without having to include a box. You can only give the popup a background color.
Add the code in the Global CSS of the Nicepage page. You can find it in the site settings.
.u-dialog-open {
animation: fadein 0.5s ease 0s 1 normal forwards;
}
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
With this code you can animate the complete popup. The shadow as well as the popup, without having to include a box. You can only give the popup a background color.
Add the code in the Global CSS of the Nicepage page. You can find it in the site settings.
.u-dialog-open {
animation: fadein 0.5s ease 0s 1 normal forwards;
}
@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}