images to svg
This commit is contained in:
parent
a31e881856
commit
3ba28aa104
734 changed files with 11682 additions and 245 deletions
|
@ -44,7 +44,7 @@ Let's take a look at a website, for example Twitter.
|
|||
|
||||
It naturally splits into components:
|
||||
|
||||

|
||||

|
||||
|
||||
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 |
|
@ -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:
|
||||
|
||||

|
||||

|
||||
|
||||
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 |
Loading…
Add table
Add a link
Reference in a new issue