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 ::?