xmake provides the grammar: $(varname) for supporting builtin variable.
.e.g
lua
add_cxflags("-I$(buildir)")
It will translate this variable to the real value when building.
-I$(buildir) => -I./build
We can also use these variables in the custom scripts.
lua
target("test")
after_build(target)
print继续阅读 »
@keyframes
基本写法是一个开始状态和一个结束状态:
css
@keyframes demo-anim {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
See the Pen QNbBOy by Oliver (@ochukai) on CodePen.
其中 animation-iteration-count: number or infinite; 可以设置循环次数,infinite为无限次
还可以定义的很详细:
```css
@keyframes demo-anim {
from {
transform: translate继续阅读 »