Browse Source

padding

main
clemtre 9 months ago
parent
commit
81118cfb69
  1. 7
      demo.html

7
demo.html

@ -48,6 +48,7 @@ the financial times of 1996, the article is called <em>This bug in your PC is a
--colorA : violet; --colorA : violet;
--colorB : darkgreen; --colorB : darkgreen;
--colorC : purple; --colorC : purple;
--padding : 20px;
--font-size: 24px; --font-size: 24px;
--point-size: 6px; --point-size: 6px;
--angle : 8deg; --angle : 8deg;
@ -78,7 +79,11 @@ width:var(--point-size);
height:var(--point-size); height:var(--point-size);
border-radius:100%;margin-bottom:auto border-radius:100%;margin-bottom:auto
} }
.demo { width:fit-content; animation: rotation var(--duration) infinite linear; background:var(--background-text)} .demo { width:fit-content;
animation: rotation var(--duration) infinite linear;
background:var(--background-text);
padding:var(--padding);
}
body {height:calc(100vh - 20px); display:flex;justify-content:center;align-items:center} body {height:calc(100vh - 20px); display:flex;justify-content:center;align-items:center}
#cvfc{border-color:var(--colorA) !important; #cvfc{border-color:var(--colorA) !important;
animation:blink .5s alternate linear; animation:blink .5s alternate linear;

Loading…
Cancel
Save