![]() |
#16 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,218
Karma: 1419583
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: 329
Karma: 2228060
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 | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Would these dropcaps work for Kindle formats? | Klip | Kindle Formats | 0 | 04-11-2014 02:30 AM |
Alphabet for DropCaps | crutledge | Workshop | 23 | 12-05-2013 03:34 PM |
AZW3 and dropcaps | Jeff L | Conversion | 9 | 01-21-2013 09:12 PM |
Dropcaps code wanted | JSWolf | ePub | 22 | 09-19-2012 02:31 AM |
CSS / dropcaps | Oldpilot | Sigil | 49 | 09-17-2012 09:44 AM |