A short beginner lesson from the Coding for Beginners series for designers, covering the CSS pseudo-elements ::first-letter, ::first-line and ::selection, and the text-align values for aligning text.
What you’ll learn
✓Style the first letter or first line of an element with ::first-letter and ::first-line
✓Style selected text with the ::selection pseudo-element
✓Align text left, right, centred or justified with the text-align property