Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="box">, 240px wide and 160px tall, with a blue-500 background. Center it horizontally and vertically in the viewport at any viewport size.
<body class="flex items-center justify-center min-h-screen">
<div id="box" class="w-64 h-40 bg-blue-500"></div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="box">, 240px wide and 160px tall, with a blue-500 background. Center it horizontally and vertically in the viewport at any viewport size.
<body>
<div id="box" class="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-blue-500 w-64 h-40"></div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="box">, 240px wide and 160px tall, with a blue-500 background. Center it horizontally and vertically in the viewport at any viewport size.
<body class="flex items-center justify-center min-h-screen">
<div id="box" class="w-64 h-40 bg-blue-500"></div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="row">, 900px wide, containing <div id="a">, <div id="b">, and <div id="c"> side by side. The three children must have equal widths, a 16px gap between them, and a height of 64px.
<body>
<div id="row" class="flex items-center justify-center w-full">
<div id="a" class="w-1/3 h-64 mr-4"></div>
<div id="b" class="w-1/3 h-64 mr-4"></div>
<div id="c" class="w-1/3 h-64"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="row">, 900px wide, containing <div id="a">, <div id="b">, and <div id="c"> side by side. The three children must have equal widths, a 16px gap between them, and a height of 64px.
<body>
<div id="row" class="flex items-center justify-center w-full">
<div id="a" class="w-1/3 h-64 mr-4"></div>
<div id="b" class="w-1/3 h-64 mr-4"></div>
<div id="c" class="w-1/3 h-64"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="row">, 900px wide, containing <div id="a">, <div id="b">, and <div id="c"> side by side. The three children must have equal widths, a 16px gap between them, and a height of 64px.
<body>
<div id="row" class="flex items-center justify-center w-full">
<div id="a" class="w-1/3 h-64 mr-4"></div>
<div id="b" class="w-1/3 h-64 mr-4"></div>
<div id="c" class="w-1/3 h-64"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <p id="t">, 200px wide, containing the text "The quick brown fox jumps over the lazy dog and keeps on running". Keep the text on one line and cut off the overflow with an ellipsis.
<body>
<p id="t" class="w-200 text-ellipsis overflow-hidden">The quick brown fox jumps over the lazy dog and keeps on running</p>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <p id="t">, 200px wide, containing the text "The quick brown fox jumps over the lazy dog and keeps on running". Keep the text on one line and cut off the overflow with an ellipsis.
<body>
<p id="t" class="w-200 text-ellipsis overflow-hidden">The quick brown fox jumps over the lazy dog and keeps on running</p>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <p id="t">, 200px wide, containing the text "The quick brown fox jumps over the lazy dog and keeps on running". Keep the text on one line and cut off the overflow with an ellipsis.
<body>
<p id="t" class="w-200 text-ellipsis overflow-hidden">The quick brown fox jumps over the lazy dog and keeps on running</p>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="wrap"> containing <div id="left">L</div> and <div id="right">R</div>. Below Tailwind's md breakpoint, stack them vertically with left above right. At md and wider, place them side by side with left on the left.
<body>
<div id="wrap">
<div id="left">L</div>
<div id="right">R</div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="wrap"> containing <div id="left">L</div> and <div id="right">R</div>. Below Tailwind's md breakpoint, stack them vertically with left above right. At md and wider, place them side by side with left on the left.
<body>
<div id="wrap">
<div id="left">L</div>
<div id="right">R</div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="wrap"> containing <div id="left">L</div> and <div id="right">R</div>. Below Tailwind's md breakpoint, stack them vertically with left above right. At md and wider, place them side by side with left on the left.
<body>
<div id="wrap">
<div id="left">L</div>
<div id="right">R</div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <button id="b">Save</button> with white text, an 8px border radius, and a blue-600 background. While the pointer is over it, the background changes to green-600.
<body>
<button id="b" class="bg-blue-600 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-md">Save</button>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <button id="b">Save</button> with white text, an 8px border radius, and a blue-600 background. While the pointer is over it, the background changes to green-600.
<body class="bg-gray-100">
<button id="b" class="bg-blue-600 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-md">
Save
</button>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <button id="b">Save</button> with white text, an 8px border radius, and a blue-600 background. While the pointer is over it, the background changes to green-600.
<body class="bg-gray-100">
<button id="b" class="bg-blue-600 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-md">Save</button>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="card">, 200px wide and 120px tall, containing <div id="badge">, 24px wide and 24px tall. The center of the badge must sit exactly on the top-right corner of the card.
<body>
<div id="card" class="w-48 h-36 bg-gray-100 rounded-lg shadow-md">
<div id="badge" class="absolute top-1/4 right-1/4 w-12 h-12 bg-red-500 text-white font-bold rounded-md">
B
</div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="card">, 200px wide and 120px tall, containing <div id="badge">, 24px wide and 24px tall. The center of the badge must sit exactly on the top-right corner of the card.
<body class="bg-gray-100">
<div id="card" class="w-48 h-36 border border-gray-300 rounded-lg shadow-md">
<div id="badge" class="absolute top-1/4 right-1/4 w-8 h-8 bg-red-600 text-white rounded-full"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="card">, 200px wide and 120px tall, containing <div id="badge">, 24px wide and 24px tall. The center of the badge must sit exactly on the top-right corner of the card.
<body>
<div id="card" class="w-48 h-36 border border-gray-300 rounded-lg">
<div id="badge" class="absolute top-1/4 right-1/4 w-8 h-8 bg-green-500 text-white font-bold rounded-full">
B
</div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="g">, 1200px wide, as a 12-column grid with no gap, containing <div id="main"> spanning 8 columns and <div id="side"> spanning 4 columns in the same row.
<body>
<div id="g" class="grid grid-cols-12 gap-0">
<div id="main" class="col-span-8"></div>
<div id="side" class="col-span-4"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="g">, 1200px wide, as a 12-column grid with no gap, containing <div id="main"> spanning 8 columns and <div id="side"> spanning 4 columns in the same row.
<body class="bg-gray-100">
<div id="g" class="grid grid-cols-12 gap-0">
<div id="main" class="col-span-8"></div>
<div id="side" class="col-span-4"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="g">, 1200px wide, as a 12-column grid with no gap, containing <div id="main"> spanning 8 columns and <div id="side"> spanning 4 columns in the same row.
<body class="bg-gray-100">
<div id="g" class="grid grid-cols-12 gap-0">
<div id="main" class="col-span-8"></div>
<div id="side" class="col-span-4"></div>
</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="panel">Hello</div>. With the system in light mode, it has a white background and gray-900 text. With the system in dark mode, it has a gray-900 background and white text.
<body>
<div id="panel">Hello</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="panel">Hello</div>. With the system in light mode, it has a white background and gray-900 text. With the system in dark mode, it has a gray-900 background and white text.
<body>
<div id="panel">Hello</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <div id="panel">Hello</div>. With the system in light mode, it has a white background and gray-900 text. With the system in dark mode, it has a gray-900 background and white text.
<body>
<div id="panel">Hello</div>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <header id="head">, 64px tall, followed by <main id="content">, 2000px tall. The header must stay at the top of the viewport while the page scrolls, and it must not cover the top of the content before scrolling.
<body class="min-h-screen">
<header id="head" class="bg-blue-500 text-white py-4 px-6 fixed top-0 left-0 w-full z-50">
<div class="container mx-auto">
<h1>My Website</h1>
</div>
</header>
<main id="content" class="py-20 px-6 mt-20">
<div class="container mx-auto">
<p>This is the main content. Scroll down to see the header.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
</div>
</main>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <header id="head">, 64px tall, followed by <main id="content">, 2000px tall. The header must stay at the top of the viewport while the page scrolls, and it must not cover the top of the content before scrolling.
<body>
<header id="head" class="h-64 bg-blue-500 text-white flex items-center justify-center">
<h1>Header</h1>
</header>
<main id="content" class="h-4000px bg-gray-100">
<p>Content</p>
</main>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create <header id="head">, 64px tall, followed by <main id="content">, 2000px tall. The header must stay at the top of the viewport while the page scrolls, and it must not cover the top of the content before scrolling.
<body class="font-sans antialiased bg-gray-100">
<header id="head" class="bg-blue-500 text-white py-4 px-6 shadow-md fixed top-0 left-0 w-full z-50">
<div class="container mx-auto">
<h1>My Website</h1>
</div>
</header>
<main id="content" class="mt-20 lg:mt-24 py-4 px-6 h-screen">
<div class="container mx-auto">
<p>This is the content of the page. Scroll down to see how the header stays at the top.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
<p>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.</p>
</div>
</main>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create a layout that fills the viewport at any size, containing four empty elements. <header id="top"> is 64px tall across the full width at the top. <footer id="foot"> is 48px tall across the full width at the bottom. Between them, <aside id="side"> is 256px wide on the left and <main id="main"> fills the remaining space. The page does not scroll.
<body>
<header id="top">
</header>
<main id="main">
</main>
<aside id="side">
</aside>
<footer>
</footer>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create a layout that fills the viewport at any size, containing four empty elements. <header id="top"> is 64px tall across the full width at the top. <footer id="foot"> is 48px tall across the full width at the bottom. Between them, <aside id="side"> is 256px wide on the left and <main id="main"> fills the remaining space. The page does not scroll.
<body>
<header id="top">
<div class="h-64 w-full bg-gray-100"></div>
</header>
<aside id="side">
<div class="w-256 h-48 bg-gray-200"></div>
</aside>
<main id="main">
<div class="w-744 h-48 bg-gray-200"></div>
</main>
<footer id="foot">
<div class="h-48 w-full bg-gray-100"></div>
</footer>
</body>
Provide only one ```html code block containing an HTML fragment. The fragment goes inside the empty <body> of a page that already has Tailwind CSS v4 loaded with its default theme. Style it using only Tailwind utility classes: do not use style attributes, and do not use <style>, <script>, or <link> tags. Use exactly the ids given. Do not include explanations.
Create a layout that fills the viewport at any size, containing four empty elements. <header id="top"> is 64px tall across the full width at the top. <footer id="foot"> is 48px tall across the full width at the bottom. Between them, <aside id="side"> is 256px wide on the left and <main id="main"> fills the remaining space. The page does not scroll.
<body>
<header id="top">
</header>
<main id="main">
</main>
<aside id="side">
</aside>
<footer>
</footer>
</body>