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. 怎么php怎么通過數組顯示sql查詢結果呢,查詢結果有多條,如圖。2. 求大神支招,php怎么操作在一個html文件的<head>標記內添加內容?3. php - 數據庫表如果是null怎么替換為其他字段的值4. mysql - 數據庫建字段,默認值空和empty string有什么區別 1105. 致命錯誤: Class ’appfacadeTest’ not found6. mysql - JAVA怎么實現一個DAO同時實現查詢兩個實體類的結果集7. javascript - mysql插入數據時怎樣避免與庫中的數據重復?8. mysql建表報錯,查手冊看不懂,求解?9. shell - Update query wrong in MySQL10. sql語句 - 如何在mysql中批量添加用戶?
