User Tools

Site Tools


harlowe:transition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
harlowe:transition [2017/06/19 02:11]
l created
harlowe:transition [2019/04/16 03:20]
l
Line 3: Line 3:
 Also known as: [[harlowe:​t8n|(t8n:​)]] Also known as: [[harlowe:​t8n|(t8n:​)]]
  
-A [[harlowe:Command|command]] that applies a built-in CSS transition to a hook as it appears.+A [[harlowe:command|command]] that applies a built-in CSS transition to a hook as it appears.
  
 === Example usage: === === Example usage: ===
  
-''​%%(transition: "​pulse"​)[Gleep!]%%''​ makes the hook ''​%%[Gleep!]%%''​ use the "​pulse"​ transition +''​%%(t8n: "​pulse"​)[Gleep!]%%''​ makes the hook ''​%%[Gleep!]%%''​ use the "​pulse"​ transition when it appears.
-when it appears.+
  
 === Details: === === Details: ===
  
-At present, the following text [[harlowe:​string|string]] will produce a particular transition:+At present, the following text [[harlowe:​string|strings]] will produce a particular transition: ​* "​instant"​ (causes the hook to instantly appear) * "​dissolve"​ (causes the hook to gently fade in) * "​flicker"​ (causes the hook to roughly flicker in - don't use with a long [[harlowe:​transition-time|(transition-time:​)]]) * "​shudder"​ (causes the hook to instantly appear while shaking back and forth) * "​rumble"​ (causes the hook to instantly appear while shaking up and down) * "​slide-right"​ (causes the hook to slide in from the right) * "​slide-left"​ (causes the hook to slide in from the left) * "​pulse"​ (causes the hook to instantly appear while pulsating rapidly)
  
-  * "​dissolve" ​(causes the hook to gently fade in) +All transitions are 0.8 seconds long, unless a [[harlowe:​transition-time|(transition-time:​)]] command is added to the command.
-  * "​shudder"​ (causes the hook to instantly appear while shaking back and forth) +
-  * "​pulse"​ (causes ​the hook to instantly appear while pulsating rapidly)+
  
-All transitions ​are 0.8 seconds longunless a [[harlowe:transition-time|(transition-time:)]] command is added +You can't combine ​transitions ​by adding them togetherlike you can with [[harlowe:text-style|(text-style:)]] - ''​%%(t8n:"​dissolve"​)+(t8n:"​shudder"​)%%''​ won't make a transition that simultaneously dissolve-fades and shudders.
-to the command.+
  
 === See also: === === See also: ===
  
 [[harlowe:​text-style|(text-style:​)]],​ [[harlowe:​transition-time|(transition-time:​)]] [[harlowe:​text-style|(text-style:​)]],​ [[harlowe:​transition-time|(transition-time:​)]]
 +
harlowe/transition.txt · Last modified: 2019/04/16 03:20 by l