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. javascript - sublime快鍵鍵問題2. javascript - immutable配合react提升性能?3. Apache 已經把網站根目錄的改為allow from all了,但是服務器還是不能訪問?4. css - 寫頁面遇到個布局問題,求大佬們幫解答,在線等,急!~5. javascript - 移動端上不能實現拖拽布局嗎?6. phpstudy8.1支持win11系統嗎?7. 實現bing搜索工具urlAPI提交8. 配置Apache時,添加對PHP的支持時語法錯誤9. javascript - nodejs關于進程間發送句柄的一點疑問10. vue.js - Vue 如何像Angular.js watch 一樣監聽數據變化

網公網安備