Created
June 6, 2022 11:56
-
-
Save texe/a90da76e82a41851952c596134b9b7dc to your computer and use it in GitHub Desktop.
How to make a dropcap in CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 { | |
font-size: 45px; | |
} | |
h1::first-letter { | |
color:#ffbb00; | |
font-size: 95px; | |
} | |
p::first-letter { | |
color:#ffbb00; | |
font-size: 28px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment