write a html page that demonstrates all major css elements in <style> tag. just use this…
- User
write a html page that demonstrates all major css elements in tag. just use this tag, no external css. website theme: asceticism
Assistant
Here is a sample HTML page that demonstrates the major CSS elements using the
<style>tag:<!DOCTYPE html> <html> <head> <title>Asthetic CSS Demo</title> <style> /* Fonts */ body { font-family: sans-serif; font-size: 16px; } h1, h2, h3, h4, h5, h6 { font-family: serif; font-weight: normal; } /* Colors */ body { background-color: #f2f2f2; color: #333; } a { color: #0066cc; } .button { background-color: #0066cc; color: #fff; border: none; padding: 10px 20px; font-size: 16px; } .button:hover { background-color: #004d99; } /* Layout */ .container { width: 80%; margin: 0 auto; padding: 20px; } .grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; } .card { background-color: #fff; padding: 20px; border-radius: 5px; } /* Responsive */ @media screen and (max-width: 600px) { .container { width: 100%; } .grid { grid-template-columns: repeat(2, 1fr); } } </style> </head> <body> <div class="container"> <h1>Asthetic CSS Demo</h1> <p>This page demonstrates the major CSS elements using the `<style>` tag.</p> <p><a href="#" class="button">Learn More</a></p> <div class="grid"> <div class="card"> <h2>Card 1</h2> <p>Card 1 content goes here.</p> </div> <div class="card"> <h2>Card 2</h2> <p>Card 2 content goes here.</p> </div> <div class
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.