Skip to content

Commit e6814ee

Browse files
committed
a few fixes
1 parent 575b98c commit e6814ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,10 +1429,10 @@ <h1><span>C</span><span>S</span><span>S</span> Pattern</h1>
14291429
<section id="g83">
14301430
<style>#g83 {
14311431
--s: 29px; /* control the size */
1432-
--b: calc(var(--s)/3); /* adjust the "3" to control the thickness*/
1432+
--b: 3; /* control the thickness*/
14331433

1434-
--g:#0000 calc(100% - var(--b) - 1px),#615375 /* 1st color*/
1435-
calc(100% - var(--b)) calc(100% - 1px),#0000;
1434+
--g:#0000 calc(100% - var(--s)/var(--b) - 1px),#615375 /* 1st color*/
1435+
calc(100% - var(--s)/var(--b)) calc(100% - 1px),#0000;
14361436
--r:calc(2.414*var(--s));
14371437
--p:calc(1.414*var(--s));
14381438
background:

0 commit comments

Comments
 (0)