{
"$type": "site.standard.document",
"canonicalUrl": "https://ayc0.github.io//posts/css-before-vs-before",
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreifgjclqbpdvkge7ipkgwbme6q47kkclqvkv44dy7qvyh2gnr7ca4m"
},
"mimeType": "image/png",
"size": 213166
},
"description": "Is there a difference in CSS between `:before` and `::before`? Which one is valid? What about similar syntaxes like `:hover` and `::first-child`?",
"path": "/posts/css-before-vs-before",
"publishedAt": "2023-01-17T00:00:00.000Z",
"site": "at://did:plc:wifmfjqoxnruni5h62e6zp2y/site.standard.publication/3mn6dj35act2i",
"tags": [
"html",
"webdev",
"fundamentals",
"css"
],
"title": "CSS :before vs ::before & :after vs ::after"
}