Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more. Learn why " before " is the correct spelling and "befor" is a common misspelling. See how to use " before " to indicate earlier time or event in sentences and avoid confusion. In CSS, :: before creates a pseudo-element that is the first child of the selected element. It is often used to add cosmetic content to an element with the content property. Before - English Grammar Today - a reference to written and spoken English grammar and usage - Cambridge Dictionary