Categories

dropcap

Jeff Bell January 25, 2016
No votes yet.
Please wait...

Dropcap is the first letter in the paragraph that is styled differently from all the other. You can make a letter into a dropcap by adding pseudo class :first-letter to needed element and creating specific css rules for it in your .css file. For example:

p:first-letter {
    font-size: 50px;
}

Also, you can put the first letter or a word of your text into an in-line HTML element like a span with special class and assigning the custom styles for it in your .css file afterwards.

For example:

HTML:

<span class="cap">C</span>reating a Dropcap!

CSS:

.cap {
    font-size: 50px;
}
dropcap
Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.