From 56be87c6c734c29c19db20cba648e39daff1cf79 Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Wed, 4 Dec 2024 10:57:10 +0000 Subject: [PATCH] Add lcp-unsized-image example --- index.html | 1 + lcp-unsized-image/README.md | 3 +++ lcp-unsized-image/app.css | 3 +++ lcp-unsized-image/index.html | 15 +++++++++++++++ 4 files changed, 22 insertions(+) create mode 100644 lcp-unsized-image/README.md create mode 100644 lcp-unsized-image/app.css create mode 100644 lcp-unsized-image/index.html diff --git a/index.html b/index.html index c96923e..9b4e804 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,7 @@
  • layout-shift
  • lcp-critical-path
  • lcp-large-image
  • +
  • lcp-unsized-image
  • lcp-web-font
  • long-interaction
  • lots-of-network-requests
  • diff --git a/lcp-unsized-image/README.md b/lcp-unsized-image/README.md new file mode 100644 index 0000000..4e0a1a5 --- /dev/null +++ b/lcp-unsized-image/README.md @@ -0,0 +1,3 @@ +# lcp-large-image + +A website that loads two images: one small, and one large (which is the LCP element). diff --git a/lcp-unsized-image/app.css b/lcp-unsized-image/app.css new file mode 100644 index 0000000..d0458be --- /dev/null +++ b/lcp-unsized-image/app.css @@ -0,0 +1,3 @@ +img { + float: left; +} diff --git a/lcp-unsized-image/index.html b/lcp-unsized-image/index.html new file mode 100644 index 0000000..6c4e331 --- /dev/null +++ b/lcp-unsized-image/index.html @@ -0,0 +1,15 @@ + + + Unsized LCP image + + + +
    + A larger image +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    +
    + +