摘要:
animation-name: myanimation; // 动画名字,指定关键帧的名字。 animation-duration: 4s; // 动画持续时间,间接控制速率,越长越慢! animation-iteration-count: infinite; // 重复次数,可以填数字也可以填in 阅读全文
posted @ 2023-07-07 08:59
Panax
阅读(9)
评论(0)
推荐(0)
摘要:
HTML部分 <body> <div class="box"></div> </body> css部分 // 设置背景颜色 body { background: #333; } .box { background: #fff; // 设置显眼的颜色 width: 200px; // 固定宽,为了看的 阅读全文
posted @ 2023-07-07 08:54
Panax
阅读(6)
评论(0)
推荐(0)
摘要:
// 单行显示.oneline { overflow: hidden; word-break: break-all; text-overflow: ellipsis; -webkit-box-orient: horizontal; -webkit-line-clamp: 1; line-clamp: 阅读全文
posted @ 2023-07-07 08:36
Panax
阅读(8)
评论(0)
推荐(0)