{"id":275382,"date":"2018-08-23T06:43:40","date_gmt":"2018-08-23T13:43:40","guid":{"rendered":"http:\/\/css-tricks.com\/?p=275382"},"modified":"2018-08-29T09:38:03","modified_gmt":"2018-08-29T16:38:03","slug":"to-double-colon-or-not-do-double-colon","status":"publish","type":"post","link":"https:\/\/css-tricks.com\/to-double-colon-or-not-do-double-colon\/","title":{"rendered":"::before vs :before"},"content":{"rendered":"

Note the double-colon ::before<\/code> versus the single-colon :before<\/code>. Which one is correct?<\/p>\n

Technically, the correct answer is ::before<\/code>. But that doesn’t mean you should automatically use it.<\/p>\n

<\/p>\n

The situation is that:<\/p>\n

X