summaryrefslogtreecommitdiff
path: root/css/05-classless-css/index.html
blob: 6f72bcb3257b4972a0e8159530c8cdc82abe9c8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Beautiful HTML-Only Page</title>
    <!-- The magic line: This automatically styles everything below -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css">
</head>
<body>

    <header>
        <h1>🚀 Built with Pure HTML</h1>
        <p>Zero custom CSS files were written to create this look.</p>
    </header>

    <main>
        <article>
            <h2>Semantic Layouts Work Best</h2>
            <p>Classless frameworks look at your semantic HTML tags. They add consistent padding, clean typography, and standard responsive widths automatically.</p>
	    <p>This page is styled using <a href="https://newcss.net/" target="_blank">new.css</a>.</p>
        </article>

        <section>
            <h3>Interactive Elements</h3>
            <p>Notice how inputs and buttons are automatically styled:</p>
            <form action="#">
                <input type="email" placeholder="Enter your email...">
                <button type="submit">Subscribe</button>
            </form>
        </section>
    </main>

    <footer>
        <p>&copy; 2026 No-CSS Experiment</p>
    </footer>

</body>
</html>