TIL how to drop caps (this time for real), part 2: manga style

A presentation at Tech Talk @ Tagesspiegel in March 2024 in by Gunnar Bittersmann

Slide 1

Slide 1

Slide 2

Slide 2

TIL how to drop caps (this time for real), part 2: manga style

Zeichnung: Anna Bittersmann

Slide 3

Slide 3

Joy

Slide 4

Slide 4

Joy text-box-edge: alphabetic; text-box-trim: both;

Slide 5

Slide 5

Áthas text-box-edge: cap; text-box-trim: both;

Slide 6

Slide 6

alegría text-box-edge: ex; text-box-trim: both;

Slide 7

Slide 7

радость text-box-edge: ex; text-box-trim: both;

Slide 8

Slide 8

Freude text-box-edge: cap alphabetic; text-box-trim: both;

Slide 9

Slide 9

CSS IS AWESOME

Slide 10

Slide 10

Freude

Slide 11

Slide 11

CSS IS AWESOME

Slide 12

Slide 12

言語 Sprache

Slide 13

Slide 13

Slide 14

Slide 14

言語 <html lang=”ja”> ⋮ 言語

<html lang=”zh-Hans”> ⋮ &#x8A9E;&#x8A00;

Slide 15

Slide 15

Frieden

Slide 16

Slide 16

writing-mode: vertical-rl

Slide 17

Slide 17

footer { writing-mode: vertical-rl; transform: rotate(0.5turn); text-orientation: sideways; } © YOURS TRULY

Slide 18

Slide 18

footer { writing-mode: vertical-rl; rotate: 0.5turn; text-orientation: sideways; } © YOURS TRULY

Slide 19

Slide 19

footer { writing-mode: vertical-rl; scale: -1; text-orientation: sideways; } © YOURS TRULY

Slide 20

Slide 20

➡ inline direction padding-block-start ‫ أقوى‬,‫ أعلى‬,‫أسرع‬ padding-block-end padding -inline -end padding -inline -start ➡ block direction padding-block-end padding -inline -start direction: rtl citius, altius, fortius padding -inline -end direction: ltr padding-block-start

Slide 21

Slide 21

padding-block-end padding-inline-end 「より速く、より高 く、より強く」 padding-inline-start く ︑ よ り 強 く ﹂ ﹁ よ り 速 く ︑ よ り 高 padding-block-start padding-block-start writing-mode: vertical-rl padding-block-end padding-inline-start writing-mode: horizontal-tb padding-inline-end ➡ inline direction ➡ block direction

Slide 22

Slide 22

writing-mode: vertical-lr

Slide 23

Slide 23

physical properties logical properties padding-left padding-right padding-top padding-bottom padding-inline-start padding-inline-end padding-block-start padding-block-end padding padding-inline padding-block margin-… margin-… border-… border-…

Slide 24

Slide 24

physical properties logical properties left right top bottom inset-inline-start inset-inline-end inset-block-start inset-block-end inset inset-inline inset-block width height inline-size block-size

Slide 25

Slide 25

Slide 26

Slide 26

Slide 27

Slide 27

CSS IS AWESOME