Archived
1
0

add explode text

This commit is contained in:
Jeff Becker 2017-01-28 14:39:31 -05:00
parent 008cfb6db5
commit f1f9ae33d9
2 changed files with 17 additions and 1 deletions

View File

@ -9,8 +9,13 @@ function wobble_text(str)
return span_text("wobble", str) return span_text("wobble", str)
end end
function explode_text(str)
return span_text("explode", str)
end
-- generate extra markup -- generate extra markup
function memeposting(body, prefix) function memeposting(body, prefix)
body = string.gsub(body, "|(.-)|", wobble_text) body = string.gsub(body, "|(.-)|", wobble_text)
body = string.gsub(body, "//(.-)\\\\", explode_text)
return body return body
end end

View File

@ -638,3 +638,14 @@ th > label {
animation-timing-function: linear; animation-timing-function: linear;
text-align: center; text-align: center;
} }
@keyframes expl {
0% { transform: scale(1,1); }
50% { transform: scale(1.5,1.5); }
100% { transform: scale(1,1); }
}
.explode {
animation: expl 0.5s infinite;
}