aboutsummaryrefslogtreecommitdiff
path: root/htmx/static/pico-1.5.11/docs/src/we-love-classes.html
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-05 23:18:49 -0500
commitbd5a00c61b355c857b5c99323592ca432dea5d0a (patch)
tree7e8ac7730527c1ad71e3fdac85840948fd23f45f /htmx/static/pico-1.5.11/docs/src/we-love-classes.html
parentc71b37eb23d4c8af7ab983de34c6da5be9363f3a (diff)
downloadpaste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.gz
paste-bd5a00c61b355c857b5c99323592ca432dea5d0a.tar.xz
wip
Diffstat (limited to 'htmx/static/pico-1.5.11/docs/src/we-love-classes.html')
-rw-r--r--htmx/static/pico-1.5.11/docs/src/we-love-classes.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/htmx/static/pico-1.5.11/docs/src/we-love-classes.html b/htmx/static/pico-1.5.11/docs/src/we-love-classes.html
new file mode 100644
index 0000000..e3718df
--- /dev/null
+++ b/htmx/static/pico-1.5.11/docs/src/we-love-classes.html
@@ -0,0 +1,38 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ ${require('./_head.html')
+ title=`We love .classes`
+ description=`As a starting point, Pico chose to be as neutral and semantic as possible using very few .classes. But of course, .classes are not a bad practice at all. Feel free to use modifiers.`
+ canonical=`we-love-classes.html`
+ }
+ </head>
+
+ <body>
+ ${require('./_nav.html')}
+
+ <main class="container" id="docs">
+ ${require('./_sidebar.html') active=`we-love-classes-link`}
+
+ <div role="document">
+ <section id="we-love-classes">
+ <h1>We love <code>.classes</code></h1>
+ <p>As a starting point, Pico chose to be as neutral and semantic as possible using very few <code>.classes</code></p>
+ <p>But of course, <code>.classes</code> are not a bad practice at all.</p>
+ <p>Feel free to use <em>modifiers</em>.</p>
+ <div data-theme="valid">
+ <pre><code>&lt;<b>button</b> <i>class</i>=<u>"warning"</u>&gt;Action&lt;/<b>button</b>&gt;<br></code></pre>
+ </div>
+ <p>Just try to keep your HTML clean and semantic to keep the Pico spirit.</p>
+ <div data-theme="invalid">
+ <pre><code>&lt;<b>button</b> <i>class</i>=<u>"button-red margin-large padding-medium"</u>&gt;Action&lt;/<b>button</b>&gt;<br></code></pre>
+ </div>
+ </section>
+
+ ${require('./_footer.html')}
+
+ </div>
+ </main>
+ <script src="js/commons.min.js"></script>
+ </body>
+</html>