0

How to make first letter of a paragraph look bold

14th Aug 2020, 6:02 AM
Muhammad Sani Aliyu
Muhammad Sani Aliyu - avatar
2 Respostas
+ 5
There is a pseudo element selector for that purpose in CSS. p::first-letter{ font-weight:bold; } See : https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter
14th Aug 2020, 6:16 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 2
Muhammad Sani Aliyu Use ::first-letter psuedo element to style the first letter as suggested by 🇮🇳Omkar🕉 Here is an example: https://code.sololearn.com/WtS27ey2HFs4/?ref=app
14th Aug 2020, 6:18 AM
Hanuma Ukkadapu
Hanuma Ukkadapu - avatar