From 347ffeef59777b112a281176e0615c8b2fa5ac22 Mon Sep 17 00:00:00 2001 From: Lut Lat Aung <111869109+Lut-Lat-Aung@users.noreply.github.com> Date: Sat, 8 Jul 2023 15:17:32 +0700 Subject: [PATCH] Create styling.css --- styling.css | 249 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 249 insertions(+) create mode 100644 styling.css diff --git a/styling.css b/styling.css new file mode 100644 index 0000000..b7805c2 --- /dev/null +++ b/styling.css @@ -0,0 +1,249 @@ + +#black{ + color: black; +} + +#green{ + color: green; +} + +#white{ + color:aliceblue; + text-align: center; +} + +#greatwhite{ + color:antiquewhite; +} + +#fontsize{ + font-size:90px; + color: aqua; +} + +#centertext { + text-align: center; +} + +#box { + height: 70px; + width: 70px; + position: relative; + border-bottom: 2px solid #0004ff; + background-color: #cccaca; + color: #0004ff; + border-radius: 10px; + } + +#borderLeft { + border-left: 2px solid #0004ff; + position: absolute; + top: 50%; + bottom: 0; + } + + + + + + +#border{ + + padding: 3px; + + /* other styling */ + background-color: #33475b; + border-radius: 10px; + + + color: black; font-weight:550; + } + + + + + + .button-85 { + padding: 0.6em 2em; + border: none; + outline: none; + color: rgb(255, 255, 255); + background: #111; + cursor: pointer; + position: relative; + z-index: 0; + border-radius: 10px; + user-select: none; + -webkit-user-select: none; + touch-action: manipulation; + + margin-left: 20px; + margin-top: 20px; + } + + .button-85:before { + content: ""; + background: linear-gradient( + 45deg, + #ff0000, + #ff7300, + #fffb00, + #48ff00, + #00ffd5, + #002bff, + #7a00ff, + #ff00c8, + #ff0000 + ); + position: absolute; + top: -2px; + left: -2px; + background-size: 400%; + z-index: -1; + filter: blur(5px); + -webkit-filter: blur(5px); + width: calc(100% + 4px); + height: calc(100% + 4px); + animation: glowing-button-85 20s linear infinite; + transition: opacity 0.3s ease-in-out; + border-radius: 10px; + } + + @keyframes glowing-button-85 { + 0% { + background-position: 0 0; + } + 50% { + background-position: 400% 0; + } + 100% { + background-position: 0 0; + } + } + + .button-85:after { + z-index: -1; + content: ""; + position: absolute; + width: 100%; + height: 100%; + background: #222; + left: 0; + top: 0; + border-radius: 10px; + } + + + + + + + + + + + + + +/* CSS */ +.button-49, +.button-49:after { + width: 150px; + height: 76px; + line-height: 78px; + font-size: 15px; + + background: linear-gradient(45deg, transparent 5%, #FF013C 5%); + border: 0; + margin-top: 10px; + margin-left: 15px; + color: #fff; + + box-shadow: 6px 0px 0px #00E6F6; + outline: transparent; + position: relative; + user-select: none; + -webkit-user-select: none; + touch-action: manipulation; +} + +.button-49:after { + --slice-0: inset(50% 50% 50% 50%); + --slice-1: inset(80% -6px 0 0); + --slice-2: inset(50% -6px 30% 0); + --slice-3: inset(10% -6px 85% 0); + --slice-4: inset(40% -6px 43% 0); + --slice-5: inset(80% -6px 5% 0); + + content: '127'; + display: block; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: linear-gradient(45deg, transparent 3%, #00E6F6 3%, #00E6F6 5%, #FF013C 5%); + text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #00E6F6; + clip-path: var(--slice-0); +} + +.button-49:hover:after { + animation: 1s glitch; + animation-timing-function: steps(2, end); +} + +@keyframes glitch { + 0% { + clip-path: var(--slice-1); + transform: translate(-20px, -10px); + } + 10% { + clip-path: var(--slice-3); + transform: translate(10px, 10px); + } + 20% { + clip-path: var(--slice-1); + transform: translate(-10px, 10px); + } + 30% { + clip-path: var(--slice-3); + transform: translate(0px, 5px); + } + 40% { + clip-path: var(--slice-2); + transform: translate(-5px, 0px); + } + 50% { + clip-path: var(--slice-3); + transform: translate(5px, 0px); + } + 60% { + clip-path: var(--slice-4); + transform: translate(5px, 10px); + } + 70% { + clip-path: var(--slice-2); + transform: translate(-10px, 10px); + } + 80% { + clip-path: var(--slice-5); + transform: translate(20px, -10px); + } + 90% { + clip-path: var(--slice-1); + transform: translate(-10px, 0px); + } + 100% { + clip-path: var(--slice-1); + transform: translate(0); + } +} + +@media (min-width: 768px) { + .button-49, + .button-49:after { + width: 70px; + height: 30px; + line-height: 30px; + } +}