UNPKG
twcss
Version:
latest (0.11.1)
0.11.1
0.10.0
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
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 }'
], ])