|
|
#16 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
If we think of real books, it is common to see a certain pattern for headings. So, you could use something like this to create dropcaps, without using classes: Code:
h1 + p::first-letter {
font-size: 3.5em;
float: left;
line-height: 1em;
margin-bottom: -0.284em;
margin-right: 0.05em;
margin-top: -0.16em;
}
Code:
h1 + hr + p::first-letter {
css code here
}
|
|
|
|
|
|
|
#17 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 337
Karma: 2267708
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
I find it very easy to use Regex to find and replace all first letters at the beginning of each chapter.
................ That sounds good. Can you share? |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Would these dropcaps work for Kindle formats? | Klip | Kindle Formats | 0 | 04-11-2014 03:30 AM |
| Alphabet for DropCaps | crutledge | Workshop | 23 | 12-05-2013 04:34 PM |
| AZW3 and dropcaps | Jeff L | Conversion | 9 | 01-21-2013 10:12 PM |
| Dropcaps code wanted | JSWolf | ePub | 22 | 09-19-2012 03:31 AM |
| CSS / dropcaps | Oldpilot | Sigil | 49 | 09-17-2012 10:44 AM |