iugo / candev

Can development be self-taught? 开发能自学吗?
The Unlicense
0 stars 0 forks source link

tailwindcss 基础用法 #13

Open iugo opened 1 year ago

iugo commented 1 year ago

定义阶梯宽度为以下几种:

Breakpoint Properties
sm (640px) max-width: 640px;
md (768px) max-width: 768px;
lg (1024px) max-width: 1024px;
xl (1280px) max-width: 1280px;
2xl (1536px) max-width: 1536px;
iugo commented 1 year ago

Twind: https://twind.dev/handbook/introduction.html

iugo commented 1 year ago

一般来说, 需要让 container 居中, 所以总是配合 mx-auto 一起使用.