images to svg

This commit is contained in:
Ilya Kantor 2019-07-28 15:42:37 +03:00
parent a31e881856
commit 3ba28aa104
734 changed files with 11682 additions and 245 deletions

View file

@ -44,7 +44,7 @@ Let's take a look at a website, for example Twitter.
It naturally splits into components:
![](web-components-twitter.png)
![](web-components-twitter.svg)
1. Top navigation.
2. User info.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 KiB

View file

@ -80,7 +80,7 @@ We created the shadow DOM, so here it is, under `#shadow-root`. Now the element
For rendering purposes, for each `<slot name="...">` in shadow DOM, the browser looks for `slot="..."` with the same name in the light DOM. These elements are rendered inside the slots:
![](shadow-dom-user-card.png)
![](shadow-dom-user-card.svg)
The result is called "flattened" DOM:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB