From 8ff0f16975477befbbbd86f5416caebb3f775c57 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Wed, 10 May 2023 13:53:06 +0100 Subject: [PATCH] Add fade animation --- index.html | 40 ++++++++++++++++++++++++++++++++++++++-- src/driver.ts | 4 ++-- src/style.css | 14 ++++++++++++++ 3 files changed, 54 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 120d9bb..7fbdffc 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,8 @@ align-items: center; justify-content: center; height: 100vh; + max-width: 1200px; + margin: 0 auto; } h1 { @@ -50,6 +52,21 @@ content: "•"; margin-right: 10px; } + + .buttons { + display: flex; + margin-top: 20px; + gap: 10px; + } + + button { + all: unset; + border: 1px solid #ccc; + padding: 5px 15px; + border-radius: 5px; + display: block; + cursor: pointer; + } @@ -57,6 +74,12 @@

driver.js next

Rewritten and enhanced version of driver.js

+
+ + + +
+