css - 如何使用 vue transition 實(shí)現(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'>個(gè)人用戶</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. node.js - win 下 npm install 遇到了如下錯(cuò)誤 會(huì)導(dǎo)致 無法 run dev么?2. 求救一下,用新版的phpstudy,數(shù)據(jù)庫過段時(shí)間會(huì)消失是什么情況?3. php - 微信開發(fā)驗(yàn)證服務(wù)器有效性4. mysql - 如何在有自增id的情況下,讓其他某些字段能不重復(fù)插入5. html - 移動(dòng)端radio無法選中6. mysql - 請(qǐng)問數(shù)據(jù)庫字段為年月日,傳進(jìn)的參數(shù)為月,怎么查詢那個(gè)月所對(duì)應(yīng)的數(shù)據(jù)7. javascript - 我的站點(diǎn)貌似被別人克隆了, google 搜索特定文章,除了域名不一樣,其他的都一樣,如何解決?8. javascript - vue+iview upload傳參失敗 跨域問題后臺(tái)已經(jīng)解決 仍然報(bào)403,這是怎么回事啊?9. [python2]local variable referenced before assignment問題10. Python2中code.co_kwonlyargcount的等效寫法
