From d184972e1178c37e923a746815d8ad5929a553eb Mon Sep 17 00:00:00 2001 From: lukejelse04 Date: Tue, 29 Jun 2021 23:37:10 +0100 Subject: [PATCH] New Typer Class - Allows for multiple phrases to be typed and displayed --- css/styles.css | 13 +---------- css/type.css | 12 ++++++++++ index.php | 16 +++++++------- js/carousel.js | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ js/type.js | 59 ++++++++++++++++++++++++++++++++++++++------------ 5 files changed, 124 insertions(+), 34 deletions(-) create mode 100644 css/type.css create mode 100644 js/carousel.js diff --git a/css/styles.css b/css/styles.css index 905cc5f..1c2ce73 100644 --- a/css/styles.css +++ b/css/styles.css @@ -10145,17 +10145,6 @@ section.resume-section .resume-section-content { } -#type{ - display: inline; - border-right: 4px solid #6c757d; - animation: blink 1s infinite; - color: rgba(36, 129, 60, 0.7); -} - -@keyframes blink { - 50%{ - border-right: none; - } -} + diff --git a/css/type.css b/css/type.css new file mode 100644 index 0000000..84fc80a --- /dev/null +++ b/css/type.css @@ -0,0 +1,12 @@ +#type{ + display: inline; + border-right: 4px solid #6c757d; + animation: blink 1s infinite; + color: rgba(36, 129, 60, 0.7); + } + + @keyframes blink { + 50%{ + border-right: none; + } + } \ No newline at end of file diff --git a/index.php b/index.php index 3669f75..93ae7cb 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@