当前位置:网站首页>Wechat applet - arrows floating up and down
Wechat applet - arrows floating up and down
2022-07-02 17:35:00 【Fried dough sticks】
wxml
<view class="arrow-up"></view>
<view class="arrow-down"></view>
wxss
.arrow-up {
width: 25rpx;
height: 25rpx;
border-top: 6rpx solid white;
border-right: 6rpx solid white;
margin-left: 50%;
transform: translateX(-50%) rotate(-45deg);
animation: arrow-up-animation 3s infinite;
position: absolute;
}
@keyframes arrow-up-animation {
0% {
top: 11vh;
}
50% {
top: 8vh;
}
100% {
top: 11vh;
}
}
.arrow-down {
width: 25rpx;
height: 25rpx;
border-top: 6rpx solid white;
border-right: 6rpx solid white;
margin-left: 50%;
transform: translateX(-50%) rotate(135deg);
animation: arrow-down-animation 3s infinite;
position: absolute;
}
@keyframes arrow-down-animation {
0% {
bottom: 8vh;
}
50% {
bottom: 11vh;
}
100% {
bottom: 8vh;
}
}
边栏推荐
- si446使用记录(二):使用WDS3生成头文件
- Chrome browser quick access stackoverflow
- The beginning of life
- Meanings of SNAT, DNAT and masquerade in iptables
- traceroute命令讲解
- 将您的基于 Accelerator 的 SAP Commerce Cloud Storefront 迁移到 Spartacus
- Map集合详细讲解
- SAP Commerce Cloud Storefront 框架选型:Accelerator 还是 Spartacus?
- IPtables中SNAT、DNAT和MASQUERADE的含义
- Believe in yourself and finish the JVM interview this time
猜你喜欢

Sword finger offer 22 The penultimate node in the linked list

QStyle实现自绘界面项目实战(二)
![[非线性控制理论]7_High gain and High Frequency](/img/e5/6c5ca4a89c97d9613cddccb281b35b.png)
[非线性控制理论]7_High gain and High Frequency

Platform management background and merchant menu resource management: merchant role management design

Connect Porsche and 3PL EDI cases

Income and risk of linear programming example investment

2020 "Lenovo Cup" National College programming online Invitational Competition and the third Shanghai University of technology programming competition (a sign in, B sign in, C sign in, D thinking +mst

Timing / counter of 32 and 51 single chip microcomputer

Experience home office, feel the completion of the project | community essay solicitation

Navigateur Chrome pour un accès rapide au stackoverflow
随机推荐
Baobab's gem IPO was terminated: Tang Guangyu once planned to raise 1.8 billion to control 47% of the equity
将您的基于 Accelerator 的 SAP Commerce Cloud Storefront 迁移到 Spartacus
牛客 JS3 分隔符
Qstype implementation of self drawing interface project practice (II)
ETH数据集下载及相关问题
The difference of message mechanism between MFC and QT
关于我
简单线性规划问题
Un an à dix ans
Sword finger offer 26 Substructure of tree
Jiuxian's IPO was terminated: Sequoia and Dongfang Fuhai were shareholders who had planned to raise 1billion yuan
Five reasons to choose SAP Spartacus as the implementation framework of SAP commerce cloud storefront
visibilitychange – 指定标签页可见时,刷新页面数据
Configure lamp+supervisor
Eth data set download and related problems
IPtables中SNAT、DNAT和MASQUERADE的含义
VScode知识点——常见报错
云通信接口更新迭代——SUBMAIL API V4正式上线
智能垃圾桶(五)——点亮OLED
从收集到输出:盘点那些强大的知识管理工具——优秀笔记软件盘点(四)