css - 如何使用 vue transition 實現(xiàn) ios 按鈕一樣的平滑切換效果
問題描述
代碼部分
<template> <p class='register__user-wrapper font-size-default border-box relative'> /* register__user-active 表示當(dāng)前頁面激活的 a 標(biāo)簽 */<a id='register__personal-user'>個人用戶</a><a id='register__enterprise-user'>企業(yè)用戶</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:已經(jīng)自己解決了。
相關(guān)文章:
1. python - 獲取到的數(shù)據(jù)生成新的mysql表2. javascript - js 對中文進行MD5加密和python結(jié)果不一樣。3. mysql里的大表用mycat做水平拆分,是不是要先手動分好,再配置mycat4. window下mysql中文亂碼怎么解決??5. sass - gem install compass 使用淘寶 Ruby 安裝失敗,出現(xiàn) 4046. python - (初學(xué)者)代碼運行不起來,求指導(dǎo),謝謝!7. 為啥不用HBuilder?8. python - flask sqlalchemy signals 無法觸發(fā)9. python的文件讀寫問題?10. 為什么python中實例檢查推薦使用isinstance而不是type?
