Code for styling first letter of a sentence
<p>
<span class="big-letter">F</span>ind the goods.
</p>
<p>
<span class="big-letter">W</span>hat are you doing.
</p>
<style>
.big-letter {
font-size: 5rem
}
</style>
When using Pseudo Elements we can do this
<p>
Find the good
</p>
<p>
What you're thinking is what you're becoming
</p>
<style>
p::first-letter{
font-size: 5rem
}
</style>
<div class="hello">
::before
I have learned over the years that....
::after
</div>
<style>
.hello::before, .hello::after{
content: ""; //This creats an empty space before/after the div
width: 100%;
height: 10px;
display: inline-block;
background: red;
}
</style>