Skip to content

Commit 7b3e2a7

Browse files
committed
chore: formatting via prettier
1 parent 5fd1bd7 commit 7b3e2a7

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

demo/iframe.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>iframe content</title>
8-
</head>
9-
<body>
10-
<h1>iframe content</h1>
11-
<p>iframe demo content from the same domain</p>
12-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>iframe content</title>
8+
</head>
9+
10+
<body>
11+
<h1>iframe content</h1>
12+
<p>iframe demo content from the same domain</p>
13+
</body>
1314
</html>

demo/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,24 @@
1717
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
1818
"Segoe UI Symbol";
1919
}
20+
2021
.scrolling-advice span {
2122
display: block;
2223
text-align: center;
2324
margin-top: 1rem;
2425
font-size: 2rem;
2526
}
27+
2628
/* Defing the header to be two screen sizes height at minimum to ensure that the images within the main section are being loaded lazy */
2729
body > header {
2830
min-height: 200vh;
2931
}
32+
3033
body > main img,
3134
body > main iframe {
3235
margin: 1rem;
3336
}
37+
3438
/* dynamically added images */
3539
.add-dynamic-content ~ div {
3640
min-height: 200vh;
@@ -53,6 +57,7 @@
5357
crossorigin="anonymous"
5458
></script>
5559
</head>
60+
5661
<body>
5762
<header>
5863
<h1>
@@ -126,7 +131,7 @@ <h1>
126131
"doesn't support the native loading lazy capabilities"
127132
);
128133
}
129-
</script></strong
134+
</script> </strong
130135
>)
131136
<span aria-hidden="true"></span>
132137
</p>

0 commit comments

Comments
 (0)