diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-02 14:28:49 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-02 14:28:49 -0400 |
commit | dc6db80fa72286704849ef61ee0e5ccb5841cb09 (patch) | |
tree | 9235d796229d49211c27a07b9d18585d503baa94 /_posts/2019-05-03-first-letter.md | |
parent | 088c87bcb58be576308da503d4f11a68843c5013 (diff) |
Conversion to barf for testing purposes
Diffstat (limited to '_posts/2019-05-03-first-letter.md')
-rw-r--r-- | _posts/2019-05-03-first-letter.md | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/_posts/2019-05-03-first-letter.md b/_posts/2019-05-03-first-letter.md deleted file mode 100644 index 8cd34d6..0000000 --- a/_posts/2019-05-03-first-letter.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -layout: post -title: "First Letter Pseudo Element" -date: 2019-05-03 ---- - - -In today's TypeTip we will be taking a look at the often overlooked `:first-letter` CSS pseudo element. Though you might only use this for specific article-format web pages, it's still a nice-to-have in your web dev toolset. - -## The HTML - -Like most pseudo elements, nothing has to change with your pre-existing HTML structure: - - - <article> - <p>It was a bright cold day in April, and the clocks were striking thirteen.</p> - </article> - - -## The CSS - -Here's where the magic happens: - - - p:first-letter { - color: orangered; - font-size: 250%; - } - - -## Live CodePen - -[Live CodePen Example](https://codepen.io/bradleytaunt/pen/gJYbev/) - - - |