Topic: sticky question
1:Why the green DIV shrinked after redisplay the background image? 2: data-mdb-sticky-animation-sticky="slide-in-down" data-mdb-sticky-animation-unsticky="slide-up" Are these two property invalid for DIV? Snippets: https://mdbootstrap.com/snippets/standard/szunzer/3184690
Please tell me how to improve?
Dawid Wajszczuk staff answered 3 years ago
Hi,
As for your 1. question, the inline style that you have used for this div element is overwritten by sticky class. To fix this just use this styles in your CSS file.
As for animations with div, I'm not sure why they are not working. We will take a closer look at this case and see what we can do about it.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.8.1
- Device: PC
- Browser: Chrome
- OS: windows 10
- Provided sample code: No
- Provided link: Yes