I have seen a tutorial about Modal Dialog Box Effect on Codrops site.
I show that they used "~" symbol which is given below
.md-modal 
{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 630px;
    min-width: 320px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    backface-visibility: hidden;
    transform: translateX(-50%) translateY(-50%);
}
.md-show {
    visibility: visible;
}
.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(143,27,15,0.8);
    transition: all 0.3s;
}
Main Problem: Here they used "~" symbol but for what??
.md-show ~ .md-overlay 
{
    opacity: 1;
    visibility: visible;
}
Can anyone help me through this problem. Also i want to use jQuery instead of JavaScript which is provided within the code. Please Help me...
 
     
     
    