aboutsummaryrefslogtreecommitdiff
path: root/examples/form/signup.css
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-08-11 21:21:31 +0530
committerAkshay Nair <phenax5@gmail.com>2023-08-11 21:23:36 +0530
commit5a9942fde65787b35d4eb8e3441af6fe68819612 (patch)
tree011e8087b200a793e154b6e6bbf96e8e1b1c8c20 /examples/form/signup.css
parente0cc82460c0fec4336037996c23947ab39ba4015 (diff)
downloadcss-everything-5a9942fde65787b35d4eb8e3441af6fe68819612.tar.gz
css-everything-5a9942fde65787b35d4eb8e3441af6fe68819612.zip
feat: adds text and inner html properties
Diffstat (limited to 'examples/form/signup.css')
-rw-r--r--examples/form/signup.css14
1 files changed, 10 insertions, 4 deletions
diff --git a/examples/form/signup.css b/examples/form/signup.css
index c5970c7..96b9ac1 100644
--- a/examples/form/signup.css
+++ b/examples/form/signup.css
@@ -5,15 +5,21 @@
max-width: 700px;
margin: 1rem auto;
+ --cssx-disgustingly-set-innerhtml: <h1 class="form-title">Sign-<b>Up</b></h1>;
+
--cssx-children: form#form;
--count: '0';
}
-#signup-page-content::before {
- content: "Sign-Up";
- display: block;
+.form-title {
font-size: 2rem;
+ padding: 0;
border-bottom: 1px solid gray;
+ font-weight: normal;
+ color: gray;
+}
+.form-title b {
+ font-weight: bold; color: black;
}
#form {
@@ -22,7 +28,7 @@
--cssx-on-submit:
prevent-default()
add-class(form, 'submitting')
- request('https://httpbin.org/post', POST)
+ request('/examples/')
remove-class(form, 'submitting')
add-class(form, 'submitted')
;