UNPKG
twcss
Version:
latest (0.4.3)
0.4.3
0.4.2
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.1.0
Fast minimalist utility-first CSS runtime inspired by Tailwind and Twind
twcss
/
src
/
main
/
keyframes.js
6 lines
(5 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
export
const
KEYFRAMES
=
new
Map
([ [
'expand'
,
'from { opacity: 0; transform: translateY(-8px) } to { opacity: 1 }'
], [
'toast'
,
'from { opacity: 0; transform: translateY(48px) } to { opacity: 1 }'
], [
'fade'
,
'0% { opacity: 0 } 100% { opacity: 1 }'
], ])