salvattore
salvattore copied to clipboard
The plugin does not work when the div is display:none
If the div is displayed: none; the plugin will completely ignore, it will also cause problems on Safari and break the website as it shows an error related to :before and :after not found "which what the plugin uses". Is there a workaround? to make the plugin work on Div's that are not displayed yet?
I have put togther a beta testing here: http://loai.directory/beta
As you can see, there are two .grid div's one is shown by default and one is hidden. Please help. Thanks.
Noticed this myself. A css-only workaround I was able to use was instead of using display: none, use visibility: hidden instead, and if you need any animation/toggling, use opacity 0 - 1. If you don't want it to take up any space, you can use width/height 0.
I'm struggling with this too..