按钮
Material 风格按钮,强调海拔反馈与下压触感
<button className="
relative px-6 py-2.5
bg-[#6200ee] text-white font-medium uppercase tracking-[0.08em] text-sm
rounded
shadow-[0_3px_1px_-2px_rgba(0,0,0,0.2),0_2px_2px_0_rgba(0,0,0,0.14),0_1px_5px_0_rgba(0,0,0,0.12)]
hover:shadow-[0_2px_4px_-1px_rgba(0,0,0,0.2),0_4px_5px_0_rgba(0,0,0,0.14),0_1px_10px_0_rgba(0,0,0,0.12)]
hover:bg-[#7528e5]
active:shadow-[0_5px_5px_-3px_rgba(0,0,0,0.2),0_8px_10px_1px_rgba(0,0,0,0.14),0_3px_14px_2px_rgba(0,0,0,0.12)]
active:scale-[0.98]
transition-all duration-[250ms] ease-[cubic-bezier(0.4,0,0.2,1)]
overflow-hidden
">
<span className="relative z-10">Submit</span>
</button>