From cc8bfc3f677f524c8b065faa80cefe19504b9488 Mon Sep 17 00:00:00 2001
From: beefchimi
+
Curtis Dulmage. Front end web developer. - Ottawa, Canada. Here are a few of my most recent projects. Please - get in touch if you have any questions. Thank you. + Ottawa, Canada. + Here are a few of my most recent projects. + Please get in touch if you have any questions. Thank you.
diff --git a/src/styles/global.css b/src/styles/global.css index c988c20..cc38de9 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -305,3 +305,28 @@ button { cursor: url('../assets/svg/cursors/CursorPointerClicked.svg'), pointer; } } + +.preload-cursors { + /* + Required to preload the variant cursor. Otherwise, there will be + a delay upon click when switching to the different cursor asset. + */ + + > b { + cursor: url('../assets/svg/cursors/CursorDeadClicked.svg'), auto; + } + + > u { + cursor: url('../assets/svg/cursors/CursorHornsClicked.svg'), pointer; + } + + > i { + cursor: url('../assets/svg/cursors/CursorPointerClicked.svg'), pointer; + } + + /* + > strong { + cursor: url('../assets/svg/cursors/CursorGrabClicked.svg'), pointer; + } + */ +}