Skip to content

Instantly share code, notes, and snippets.

@joaopereirawd
Last active September 27, 2017 04:03
Show Gist options
  • Save joaopereirawd/238d4b09ef4b3a729d66 to your computer and use it in GitHub Desktop.
Save joaopereirawd/238d4b09ef4b3a729d66 to your computer and use it in GitHub Desktop.
Basic Initialize
<script>
$("#demo01").animatedModal();
</script>
@xcelpixel
Copy link

It's really nice. But what if i want to add Opacity? I tried to change opacityIn, fadeIn parameters but it won't add opacity in overlay to see through the content behind. Please do let me know. Thanks

@demajkel
Copy link

use rgba(0,0,0,0.5) not hex :) heh... Hex actually have opacity option to, but not all browsers was support that kind solution. If u want to try using opacity with hex write this: "#00000005" (black with 50% aplha)
First six is basic color and last two is level of transparency. gl&hf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment