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. 在mac下出現了兩個docker環境2. css - input中transition 設置background-color過渡,chrome瀏覽器頁面初始化渲染會有過度效果3. java - Spring使用@Autowired失效但是getBean()可以執行成功4. angular.js - angular ui bootstrap 中文顯示問題5. javascript - node中為中間層如何解決跨域問題6. Python pyinstaller 打包后在其他電腦運行失敗7. 網絡傳輸協議 - 以下三種下載方式有什么不同?如何用python模擬下載器下載?8. javascript - webpack打包問題9. 編程小白 問關于python當中類的方法的參數問題10. linux - 編譯時提示頭文件#include <mysql/mysql.h>不存在,百度之后也沒解決
