css - 如何使用 vue transition 實現(xiàn) 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'>企業(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. 前端 - ng-view不能加載進模板2. docker容器呢SSH為什么連不通呢?3. android clickablespan獲取選中內(nèi)容4. debian - docker依賴的aufs-tools源碼哪里可以找到???5. python - from ..xxxx import xxxx到底是什么意思呢?6. angular.js - angularJS在Android WebView中無法正常調(diào)后臺接口7. 關(guān)docker hub上有些鏡像的tag被標記““This image has vulnerabilities””8. nignx - docker內(nèi)nginx 80端口被占用9. docker網(wǎng)絡(luò)端口映射,沒有方便點的操作方法么?10. 請教各位大佬,瀏覽器點 提交實例為什么沒有反應(yīng)
