css - 如何使用 vue transition 实现 ios 按钮一样的平滑切换效果
问题描述
代码部分
<template> <p class='register__user-wrapper font-size-default border-box relative'> /* register__user-active 表示当前页面激活的 a 标签 */<a id='register__personal-user'>个人用户</a><a id='register__enterprise-user'>企业用户</a> </p></template>
<style>.register__user-wrapper { width: 100%; height: 57px; margin-bottom: 31px; border-radius: 8px; padding: 3px; background-color: #ededed; } .register__user { width: 212px; height: 51px; line-height: 51px; border-radius: 8px; text-align: center; background-color: transparent; color: #4c4c4c; } .register__user-active { background-color: #fff; cursor: pointer; }</style>
问题解答
回答1:已经自己解决了。
相关文章:
1. angular.js - 百度支持_escaped_fragment_吗?2. javascript - vue $set 整个数组3. docker-compose中volumes的问题4. vim - win10无法打开markdown编辑器5. 新手 - Python 爬虫 问题 求助6. 微信开放平台 - ios APP能不能打开微信然后通过微信跳转到指定的URL?7. php mail无法发送邮件8. thinkphp5.1学习时遇到session问题9. python - 管道符和ssh传文件10. css - 移动端 line-height安卓错位,苹果机正常用,缩放解决了,可是又出来了占位的问题
