> <body ontouchstart="">
>
> .btn {
> width: 2.5rem;
> margin-top: 0.3rem;
> margin-bottom: 0.3rem; }
> .btn:active {
> position: relative;
> top: 1px;
> transform: scale(0.8, 0.8);
> -webkit-transform: scale(0.8, 0.8);
> -o-transform: scale(0.8, 0.8);
> -ms-transform: scale(0.8, 0.8);
> }
css 按钮点击缩放效果
最新推荐文章于 2024-05-09 13:39:43 发布