From a831817b332e792a5c8a5d842d4966befd35ae2f Mon Sep 17 00:00:00 2001
From: frankpagan
Date: Sat, 12 Apr 2025 16:16:51 -0600
Subject: [PATCH 1/5] fix: update query attributes
---
demo/atomic-css.html | 2182 +++++++++++++++++++-------------------
demo/test.1.html | 106 +-
demo/test.html | 6 +-
docs/index.html | 2367 ++++++++++++++++++++----------------------
4 files changed, 2283 insertions(+), 2378 deletions(-)
diff --git a/demo/atomic-css.html b/demo/atomic-css.html
index 21835fe..8fc55ea 100644
--- a/demo/atomic-css.html
+++ b/demo/atomic-css.html
@@ -1,1109 +1,1109 @@
-
-
-
-
- CoCreate-atomic-css Documentation | CoCreateCSS
-
-
-
-
-
-
+
+
+
+
+ CoCreate-atomic-css Documentation | CoCreateCSS
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
CoCreate helper CSS
-
-
-
-
- CoCreate provides the most convenient helper class.
-
-
-
-
+
+
+
+
+
CoCreate helper CSS
+
+
+
+
+ CoCreate provides the most convenient helper class.
+
+
+
+
-
-
- CoCreate Helper Classes are very easy to use.
-
-
- We can use exactly same class names with
- "style:value".
-
-
-
+
+
+ CoCreate Helper Classes are very easy to use.
+
+
+ We can use exactly same class names with
+ "style:value".
+
+
+
<div class="padding:16px"></div>
<div class="font-size:0.5rem color:red"></div>
-
-
- Main styles and values provided as helper classes
- are as follows.
-
-
-
-
-
-
-
- direction
-
-
-
<div class="direction:ltr"></div>
-
ltr
-
rtl
-
-
- display
-
-
-
<div class="display:block"></div>
-
block
-
inline-block
-
inline
-
none
-
inherit
-
table
-
table-cell
-
flex
-
-
- overflow
-
-
-
<div class="overflow:auto"></div>
-
auto
-
visible
-
scroll
-
hidden
-
-
- float
-
-
-
<div class="float:left"></div>
-
left
-
right
-
none
-
-
- position
-
-
-
<div class="position:relative"></div>
-
inherit
-
relative
-
absolute
-
fixed
-
sticky
-
-
- z-index
-
-
-
<div class="z-index:auto"></div>
-
auto
-
inherit
-
initial
-
-2
-
-5
-
1 ~ 15
-
100
-
101
-
111
-
1000
-
1111
-
-
- top / bottom / left / right
-
-
-
<div class="top:auto"></div>
-
auto
-
0
-
1px ~ 50px
-
55px
-
60px
-
65px
-
...
-
100px
-
150px
-
200px
-
...
-
400px
-
-1px ~ -50px
-
-55px
-
-60px
-
-65px
-
...
-
-100px
-
-150px
-
-200px
-
...
-
-400px
-
-
- bottom
-
-
-
<div class="bottom:auto"></div>
-
auto
-
0
-
1px ~ 50px
-
55px
-
60px
-
65px
-
...
-
100px
-
150px
-
200px
-
...
-
400px
-
-1px ~ -50px
-
-55px
-
-60px
-
-65px
-
...
-
-100px
-
-150px
-
-200px
-
...
-
-400px
-
-
- left
-
-
-
<div class="left:auto"></div>
-
auto
-
0
-
1px ~ 50px
-
55px
-
60px
-
65px
-
...
-
100px
-
150px
-
200px
-
...
-
400px
-
-1px ~ -50px
-
-55px
-
-60px
-
-65px
-
...
-
-100px
-
-150px
-
-200px
-
...
-
-400px
-
-
- right
-
-
-
<div class="right:auto"></div>
-
auto
-
0
-
1px ~ 50px
-
55px
-
60px
-
65px
-
...
-
100px
-
150px
-
200px
-
...
-
400px
-
-1px ~ -50px
-
-55px
-
-60px
-
-65px
-
...
-
-100px
-
-150px
-
-200px
-
...
-
-400px
-
-
- height
-
-
-
<div class="height:0"></div>
-
0
-
1px ~ 10px
-
20px
-
30px
-
40px
-
45px
-
48px
-
50px
-
70px
-
80px
-
90px
-
100px
-
130px
-
150px
-
200px
-
250px
-
300px
-
350px
-
...
-
700px
-
auto
-
25%
-
33%
-
50%
-
66%
-
75%
-
100%
-
100%-120px
-
100vh-120px
-
100vh-100px
-
100vh-90px
-
100vh-70px
-
100vh-50px
-
80vh
-
90vh
-
100vh
-
fill-available
-
fit-content
-
-
- min-height
-
-
-
<div class="min-height:100px"></div>
-
100px
-
200px
-
...
-
700px
-
-
- max-height
-
-
-
<div class="max-height:300px"></div>
-
60px
-
100%
-
-
- width
-
-
-
<div class="width:0"></div>
-
0
-
1px ~ 10px
-
15px
-
20px
-
25px
-
...
-
90px
-
100px
-
110px
-
120px
-
130px
-
150px
-
180px
-
200px
-
250px
-
300px
-
350px
-
...
-
1000px
-
10%
-
12%
-
15%
-
20%
-
25%
-
30%
-
35%
-
40%
-
41% ~ 50%
-
55%
-
60%
-
65%
-
70%
-
75%
-
80%
-
85%
-
90%
-
95%
-
100%
-
auto
-
unset
-
fill-available
-
-
- min-width
-
-
-
<div class="min-width:75px"></div>
-
75px
-
100px
-
200px
-
250px
-
300px
-
-
- max-width
-
-
-
<div class="max-width:300px"></div>
-
75px
-
100px
-
300px
-
400px
-
500px
-
600px
-
1050px
-
-
- margin
-
-
-
<div class="margin:auto"></div>
-
auto
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
- auto-lr(left & right)
-
-
0-lr
-
5px-lr
-
10px-lr
-
15px-lr
-
...
-
100px-lr
-
- auto-tb(top & bottom)
-
-
0-tb
-
5px_0px
-
10px_0px
-
15px_0px
-
...
-
100px_0px
-
-
- margin-top
-
-
-
<div class="margin=top:auto"></div>
-
auto
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- margin-bottom
-
-
-
<div class="margin-bottom:auto"></div>
-
auto
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- margin-left
-
-
-
<div class="margin-left:auto"></div>
-
auto
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- margin-right
-
-
-
<div class="margin-right:auto"></div>
-
auto
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- padding
-
-
-
<div class="padding:0"></div>
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
0-tb(top & bottom)
-
5px_0px
-
10px_0px
-
15px_0px
-
...
-
100px_0px
-
0-lr(left & right)
-
1px-lr ~ 15px-lr
-
20px-lr
-
25px-lr
-
30px-lr
-
...
-
100px-lr
-
-
- padding-top
-
-
-
<div class="padding-top:0"></div>
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- padding-bottom
-
-
-
<div class="padding-bottom:15px"></div>
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- padding-left
-
-
-
<div class="padding-left:15px"></div>
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- padding-right
-
-
-
<div class="padding-right:15px"></div>
-
0
-
5px
-
10px
-
15px
-
...
-
100px
-
-
- border-width
-
-
-
<div class="border-width:0"></div>
-
0
-
1px ~ 10px
-
20px
-
-
- border-color
-
-
-
<div class="border-color:black"></div>
-
white
-
black
-
extra-dark-gray
-
medium-dark-gray
-
dark-gray
-
extra-medium-gray
-
medium-gray
-
extra-light-gray
-
light-gray
-
light-pink
-
deep-pink
-
transparent-pink
-
-
- border-style
-
-
-
<div class="border-style:dotted"></div>
-
dotted
-
dashed
-
solid
-
double
-
groove
-
ridge
-
inset
-
outset
-
none
-
hidden
-
transparent
-
-
- border-radius
-
-
-
<div class="border-radius:0"></div>
-
0
-
1px ~ 10px
-
50px
-
50%
-
100%
-
-
- font-size
-
-
-
<div class="font-size:18px"></div>
-
6px ~ 25px
-
30px
-
40px
-
50px
-
...
-
80px
-
01rem
-
02rem
-
03rem
-
04rem
-
05rem
-
1rem
-
2rem
-
-
- font-weight
-
-
-
<div class="font-weight:800"></div>
-
100
-
200
-
300
-
...
-
900
-
bold
-
-
- font-align
-
-
-
<div class="font-align:center"></div>
-
center
-
left
-
right
-
-
- color
-
-
-
<div class="color:blue"></div>
-
white
-
black
-
extra-dark-gray
-
dark-gray
-
extra-medium-gray
-
medium-gray
-
extra-light-gray
-
light-gray
-
light-gray
-
very-light-gray
-
deep-pink
-
light-blue
-
blue
-
-
- text-overflow
-
-
-
<div class="text-overflow:ellipsis"></div>
-
ellipsis
-
-
- text-transform
-
-
-
<div class="text-transform:uppercase"></div>
-
uppercase
-
-
- text-decoration
-
-
-
<div class="text-decoration:underline"></div>
-
underline
-
-
- background-attachment
-
-
-
<div class="background-attachment:scroll"></div>
-
scroll
-
fixed
-
local
-
initial
-
inherit
-
-
- background-repeat
-
-
-
<div class="background-repeat:repeat"></div>
-
repeat
-
repeat-x
-
repeat-y
-
no-repeat
-
initial
-
inherit
-
-
- background-size
-
-
-
<div class="background-size:auto"></div>
-
auto
-
cover
-
contain
-
initial
-
inherit
-
-
- background-position
-
-
-
<div class="background-position:center"></div>
-
left-top
-
left-center
-
left-bottom
-
right-top
-
right-center
-
right-bottom
-
center
-
center-top
-
center-center
-
center-bottom
-
initial
-
inherit
-
-
- bg (background)
-
-
-
<div class="background:blue"></div>
-
transparent
-
white
-
black
-
dark-blue
-
extra-dark-gray
-
dark-gray
-
extra-medium-gray
-
medium-gray
-
extra-light-gray
-
medium-light-gray
-
light-gray
-
very-light-gray
-
deep-pink
-
transparent-white
-
transparent-black
-
white-opacity
-
black-opacity
-
black-opacity-light
-
deep-pink-opacity
-
charcoal-gray
-
blue
-
-
- background
-
-
-
<div class="background:black"></div>
-
transparent
-
white
-
black
-
dark-blue
-
-
- opacity
-
-
-
<div class="opacity:block"></div>
-
0
-
0.1
-
0.2
-
0.3
-
...
-
0.9
-
1
-
-
- cursor
-
-
-
<div class="cursor:auto"></div>
-
alias
-
all-scroll
-
auto
-
cell
-
context-menu
-
col-resize
-
copy
-
crosshair
-
default
-
e-resize
-
ew-resize
-
grab
-
grabbing
-
help
-
move
-
n-resize
-
ne-resize
-
nesw-resize
-
ns-resize
-
nw-resize
-
nwse-resize
-
no-drop
-
none
-
not-allowed
-
pointer
-
progress
-
row-resize
-
s-resize
-
se-resize
-
sw-resize
-
text
-
url
-
w-resize
-
wait
-
zoom-in
-
zoom-out
-
-
-
+
+
+ Main styles and values provided as helper classes
+ are as follows.
+
+
+
+
+
+
+
+ direction
+
+
+
<div class="direction:ltr"></div>
+
ltr
+
rtl
+
+
+ display
+
+
+
<div class="display:block"></div>
+
block
+
inline-block
+
inline
+
none
+
inherit
+
table
+
table-cell
+
flex
+
+
+ overflow
+
+
+
<div class="overflow:auto"></div>
+
auto
+
visible
+
scroll
+
hidden
+
+
+ float
+
+
+
<div class="float:left"></div>
+
left
+
right
+
none
+
+
+ position
+
+
+
<div class="position:relative"></div>
+
inherit
+
relative
+
absolute
+
fixed
+
sticky
+
+
+ z-index
+
+
+
<div class="z-index:auto"></div>
+
auto
+
inherit
+
initial
+
-2
+
-5
+
1 ~ 15
+
100
+
101
+
111
+
1000
+
1111
+
+
+ top / bottom / left / right
+
+
+
<div class="top:auto"></div>
+
auto
+
0
+
1px ~ 50px
+
55px
+
60px
+
65px
+
...
+
100px
+
150px
+
200px
+
...
+
400px
+
-1px ~ -50px
+
-55px
+
-60px
+
-65px
+
...
+
-100px
+
-150px
+
-200px
+
...
+
-400px
+
+
+ bottom
+
+
+
<div class="bottom:auto"></div>
+
auto
+
0
+
1px ~ 50px
+
55px
+
60px
+
65px
+
...
+
100px
+
150px
+
200px
+
...
+
400px
+
-1px ~ -50px
+
-55px
+
-60px
+
-65px
+
...
+
-100px
+
-150px
+
-200px
+
...
+
-400px
+
+
+ left
+
+
+
<div class="left:auto"></div>
+
auto
+
0
+
1px ~ 50px
+
55px
+
60px
+
65px
+
...
+
100px
+
150px
+
200px
+
...
+
400px
+
-1px ~ -50px
+
-55px
+
-60px
+
-65px
+
...
+
-100px
+
-150px
+
-200px
+
...
+
-400px
+
+
+ right
+
+
+
<div class="right:auto"></div>
+
auto
+
0
+
1px ~ 50px
+
55px
+
60px
+
65px
+
...
+
100px
+
150px
+
200px
+
...
+
400px
+
-1px ~ -50px
+
-55px
+
-60px
+
-65px
+
...
+
-100px
+
-150px
+
-200px
+
...
+
-400px
+
+
+ height
+
+
+
<div class="height:0"></div>
+
0
+
1px ~ 10px
+
20px
+
30px
+
40px
+
45px
+
48px
+
50px
+
70px
+
80px
+
90px
+
100px
+
130px
+
150px
+
200px
+
250px
+
300px
+
350px
+
...
+
700px
+
auto
+
25%
+
33%
+
50%
+
66%
+
75%
+
100%
+
100%-120px
+
100vh-120px
+
100vh-100px
+
100vh-90px
+
100vh-70px
+
100vh-50px
+
80vh
+
90vh
+
100vh
+
fill-available
+
fit-content
+
+
+ min-height
+
+
+
<div class="min-height:100px"></div>
+
100px
+
200px
+
...
+
700px
+
+
+ max-height
+
+
+
<div class="max-height:300px"></div>
+
60px
+
100%
+
+
+ width
+
+
+
<div class="width:0"></div>
+
0
+
1px ~ 10px
+
15px
+
20px
+
25px
+
...
+
90px
+
100px
+
110px
+
120px
+
130px
+
150px
+
180px
+
200px
+
250px
+
300px
+
350px
+
...
+
1000px
+
10%
+
12%
+
15%
+
20%
+
25%
+
30%
+
35%
+
40%
+
41% ~ 50%
+
55%
+
60%
+
65%
+
70%
+
75%
+
80%
+
85%
+
90%
+
95%
+
100%
+
auto
+
unset
+
fill-available
+
+
+ min-width
+
+
+
<div class="min-width:75px"></div>
+
75px
+
100px
+
200px
+
250px
+
300px
+
+
+ max-width
+
+
+
<div class="max-width:300px"></div>
+
75px
+
100px
+
300px
+
400px
+
500px
+
600px
+
1050px
+
+
+ margin
+
+
+
<div class="margin:auto"></div>
+
auto
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+ auto-lr(left & right)
+
+
0-lr
+
5px-lr
+
10px-lr
+
15px-lr
+
...
+
100px-lr
+
+ auto-tb(top & bottom)
+
+
0-tb
+
5px_0px
+
10px_0px
+
15px_0px
+
...
+
100px_0px
+
+
+ margin-top
+
+
+
<div class="margin=top:auto"></div>
+
auto
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ margin-bottom
+
+
+
<div class="margin-bottom:auto"></div>
+
auto
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ margin-left
+
+
+
<div class="margin-left:auto"></div>
+
auto
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ margin-right
+
+
+
<div class="margin-right:auto"></div>
+
auto
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ padding
+
+
+
<div class="padding:0"></div>
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
0-tb(top & bottom)
+
5px_0px
+
10px_0px
+
15px_0px
+
...
+
100px_0px
+
0-lr(left & right)
+
1px-lr ~ 15px-lr
+
20px-lr
+
25px-lr
+
30px-lr
+
...
+
100px-lr
+
+
+ padding-top
+
+
+
<div class="padding-top:0"></div>
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ padding-bottom
+
+
+
<div class="padding-bottom:15px"></div>
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ padding-left
+
+
+
<div class="padding-left:15px"></div>
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ padding-right
+
+
+
<div class="padding-right:15px"></div>
+
0
+
5px
+
10px
+
15px
+
...
+
100px
+
+
+ border-width
+
+
+
<div class="border-width:0"></div>
+
0
+
1px ~ 10px
+
20px
+
+
+ border-color
+
+
+
<div class="border-color:black"></div>
+
white
+
black
+
extra-dark-gray
+
medium-dark-gray
+
dark-gray
+
extra-medium-gray
+
medium-gray
+
extra-light-gray
+
light-gray
+
light-pink
+
deep-pink
+
transparent-pink
+
+
+ border-style
+
+
+
<div class="border-style:dotted"></div>
+
dotted
+
dashed
+
solid
+
double
+
groove
+
ridge
+
inset
+
outset
+
none
+
hidden
+
transparent
+
+
+ border-radius
+
+
+
<div class="border-radius:0"></div>
+
0
+
1px ~ 10px
+
50px
+
50%
+
100%
+
+
+ font-size
+
+
+
<div class="font-size:18px"></div>
+
6px ~ 25px
+
30px
+
40px
+
50px
+
...
+
80px
+
01rem
+
02rem
+
03rem
+
04rem
+
05rem
+
1rem
+
2rem
+
+
+ font-weight
+
+
+
<div class="font-weight:800"></div>
+
100
+
200
+
300
+
...
+
900
+
bold
+
+
+ font-align
+
+
+
<div class="font-align:center"></div>
+
center
+
left
+
right
+
+
+ color
+
+
+
<div class="color:blue"></div>
+
white
+
black
+
extra-dark-gray
+
dark-gray
+
extra-medium-gray
+
medium-gray
+
extra-light-gray
+
light-gray
+
light-gray
+
very-light-gray
+
deep-pink
+
light-blue
+
blue
+
+
+ text-overflow
+
+
+
<div class="text-overflow:ellipsis"></div>
+
ellipsis
+
+
+ text-transform
+
+
+
<div class="text-transform:uppercase"></div>
+
uppercase
+
+
+ text-decoration
+
+
+
<div class="text-decoration:underline"></div>
+
underline
+
+
+ background-attachment
+
+
+
<div class="background-attachment:scroll"></div>
+
scroll
+
fixed
+
local
+
initial
+
inherit
+
+
+ background-repeat
+
+
+
<div class="background-repeat:repeat"></div>
+
repeat
+
repeat-x
+
repeat-y
+
no-repeat
+
initial
+
inherit
+
+
+ background-size
+
+
+
<div class="background-size:auto"></div>
+
auto
+
cover
+
contain
+
initial
+
inherit
+
+
+ background-position
+
+
+
<div class="background-position:center"></div>
+
left-top
+
left-center
+
left-bottom
+
right-top
+
right-center
+
right-bottom
+
center
+
center-top
+
center-center
+
center-bottom
+
initial
+
inherit
+
+
+ bg (background)
+
+
+
<div class="background:blue"></div>
+
transparent
+
white
+
black
+
dark-blue
+
extra-dark-gray
+
dark-gray
+
extra-medium-gray
+
medium-gray
+
extra-light-gray
+
medium-light-gray
+
light-gray
+
very-light-gray
+
deep-pink
+
transparent-white
+
transparent-black
+
white-opacity
+
black-opacity
+
black-opacity-light
+
deep-pink-opacity
+
charcoal-gray
+
blue
+
+
+ background
+
+
+
<div class="background:black"></div>
+
transparent
+
white
+
black
+
dark-blue
+
+
+ opacity
+
+
+
<div class="opacity:block"></div>
+
0
+
0.1
+
0.2
+
0.3
+
...
+
0.9
+
1
+
+
+ cursor
+
+
+
<div class="cursor:auto"></div>
+
alias
+
all-scroll
+
auto
+
cell
+
context-menu
+
col-resize
+
copy
+
crosshair
+
default
+
e-resize
+
ew-resize
+
grab
+
grabbing
+
help
+
move
+
n-resize
+
ne-resize
+
nesw-resize
+
ns-resize
+
nw-resize
+
nwse-resize
+
no-drop
+
none
+
not-allowed
+
pointer
+
progress
+
row-resize
+
s-resize
+
se-resize
+
sw-resize
+
text
+
url
+
w-resize
+
wait
+
zoom-in
+
zoom-out
+
+
+
-
+
+
+
+
+
-
-
+
+
-
-
+
+ for (const copied of copy) {
+ copied.onclick = function () {
+ object.execCommand("copy");
+ };
+ copied.addEventListener("copy", function (event) {
+ event.preventDefault();
+ if (event.clipboardData) {
+ event.clipboardData.setData(
+ "text/plain",
+ copied.textContent
+ );
+ console.log(event.clipboardData.getData("text"));
+ }
+ });
+ }
+
-
-
+
+
diff --git a/demo/test.1.html b/demo/test.1.html
index 36abea6..a59d485 100644
--- a/demo/test.1.html
+++ b/demo/test.1.html
@@ -1,59 +1,59 @@
-
-
-
-
- CoCreateCSS - A utility first, atomic CSS framework
-
-
+
+
+
+
+ CoCreateCSS - A utility first, atomic CSS framework
+
+
-
-
-
-
+
+
+
+
-
-
+
+
-
-
-
+
+
+
diff --git a/demo/test.html b/demo/test.html
index 8c293b5..0d566a1 100644
--- a/demo/test.html
+++ b/demo/test.html
@@ -66,7 +66,7 @@
Toggle Darkmode
@@ -74,7 +74,7 @@
Toggle Darkmode
@@ -93,7 +93,7 @@
id="menuL"
class="position:fixed top:0px left:0px background:whitesmoke height:100vh width:50px width:300px:hover width:0px@xs"
resizable
- resize-selector="[content_id='content']"
+ resize-query="[content_id='content']"
resize-property="margin-left"
resize-value="width">