:target
Light up the section your user navigates to via a table of contents. Great for accessibility, as it helps orient your visual users.
Go ahead and see it in action by choosing each section from the table of contents!
:target on MDN »:lang()
Is your site using different languages? Style specific languages by targeting them in CSS.
Сегодня я хотел бы научить вас CSS. Я нахожусь на Аляске, и у меня есть время на моих руках.
Hoy me gustaría enseñarte algo de CSS. Estoy en Alaska, y tengo algo de tiempo en mis manos.
:lang on MDN »::first-letter
Typography tricks in CSS! Make the first letter of every paragraph stand out.
Increase the font size and weight. Or choose a different color to offset it from the rest of the text. The following properties can be used:
- font
- color
- background
- margin
- padding
- border
- text-decoration
- vertical-align
- text-transform
- line-height
- float
- clear
- initial-letters (experimental)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
::first-letter on MDN »