Difference between : and :: in CSS [duplicate]

This question already has an answer here:

Hi just want to clear up my mind to use colon / pseudo class in css.

If I use

div:before {
    // some css styles
}

OR

div::before {
    // some css styles
}

Both works same. So what is the difference between single colon : or double colon ::?


Click here view more answers http://ift.tt/1OrGHFo