当前位置:网站首页>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;
}
}
边栏推荐
- 深度之眼(二)——矩阵及其基本运算
- This "architect growth note" made 300 people successfully change jobs and enter the big factory, with an annual salary of 50W
- 【目标跟踪】|SiamFC
- 简单介绍BASE64Encoder的使用
- PCL知识点——体素化网格方法对点云进行下采样
- ROS knowledge points -- the difference between ros:: nodehandle N and NH ("~")
- 【目标跟踪】|数据集汇总
- SAP commerce cloud storefront framework selection: accelerator or Spartacus?
- 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
- Flutter: 动作反馈
猜你喜欢

深度之眼(三)——矩阵的行列式

维护万星开源向量数据库是什么体验
![[web technology] 1233 seconds understand web component](/img/42/c98d8112dc4ece0a92dda97647be5c.jpg)
[web technology] 1233 seconds understand web component

VirtualLab基础实验教程-7.偏振(2)

The bottom simulation implementation of vector

Example nonlinear integer programming

Connect Porsche and 3PL EDI cases

This "architect growth note" made 300 people successfully change jobs and enter the big factory, with an annual salary of 50W

Eye of depth (III) -- determinant of matrix

The construction of scalable distributed database cluster and the partition design of oneproxy sub database
随机推荐
Microservice architecture practice: Construction of scalable distributed database cluster
HBuilderX运行到手机或模拟器提示没有找到设备
体验居家办公完成项目有感 | 社区征文
The bottom simulation implementation of vector
Nexus简介及小白使用IDEA打包上传到Nexus3私服详细教程
From collection to output: inventory those powerful knowledge management tools - inventory of excellent note taking software (4)
em120.gige.h
The beginning of life
POJ - 1458 Common Subsequence(最长公共子序列)
Update iteration of cloud communication interface -- the official launch of subail API V4
[非线性控制理论]8_三种鲁棒控制器的比较
例题 非线性整数规划
【GAMES101】作业4 Bézier 曲线
CEPH principle
After meeting a full stack developer from Tencent, I saw what it means to be proficient in MySQL tuning
Smart trash can (V) - light up OLED
ThreadLocal
Leetcode question brushing record | 933_ Recent requests
Jiuxian's IPO was terminated: Sequoia and Dongfang Fuhai were shareholders who had planned to raise 1billion yuan
Introduce the scrollintoview() method attribute in detail