边框
边框圆角
用于控制元素边框半径的功能类。
语法
rounded
Class | Properties | 平台兼容性说明 |
---|---|---|
rounded-none | border-radius: 0px | H5、小程序、app-vue、app-nvue |
rounded-xs | border-radius: 0.3125rem | H5、小程序、app-vue、app-nvue |
rounded-sm | border-radius: 0.625rem | H5、小程序、app-vue、app-nvue |
rounded-base | border-radius: 0.9375rem | H5、小程序、app-vue、app-nvue |
rounded-lg | border-radius: 1.25rem | H5、小程序、app-vue、app-nvue |
rounded-xl | border-radius: 1.5625rem | H5、小程序、app-vue、app-nvue |
rounded-2xl | border-radius: 2.5rem | H5、小程序、app-vue、app-nvue |
rounded-3xl | border-radius: 3.75rem | H5、小程序、app-vue、app-nvue |
rounded-4xl | border-radius: 5rem | H5、小程序、app-vue、app-nvue |
rounded-full | border-radius: 312.4375rem | H5、小程序、app-vue、app-nvue |
rounded-t
rounded-r
rounded-b
rounded-l
rounded-tl
Class | Properties | 平台兼容性说明 |
---|---|---|
rounded-tl-none | border-top-left-radius: 0px | H5、小程序、app-vue、app-nvue |
rounded-tl-xs | border-top-left-radius: 0.3125rem | H5、小程序、app-vue、app-nvue |
rounded-tl-sm | border-top-left-radius: 0.625rem | H5、小程序、app-vue、app-nvue |
rounded-tl-base | border-top-left-radius: 0.9375rem | H5、小程序、app-vue、app-nvue |
rounded-tl-lg | border-top-left-radius: 1.25rem | H5、小程序、app-vue、app-nvue |
rounded-tl-xl | border-top-left-radius: 1.5625rem | H5、小程序、app-vue、app-nvue |
rounded-tl-2xl | border-top-left-radius: 2.5rem | H5、小程序、app-vue、app-nvue |
rounded-tl-3xl | border-top-left-radius: 3.75rem | H5、小程序、app-vue、app-nvue |
rounded-tl-4xl | border-top-left-radius: 5rem | H5、小程序、app-vue、app-nvue |
rounded-tl-full | border-top-left-radius: 312.4375rem | H5、小程序、app-vue、app-nvue |
rounded-tr
Class | Properties | 平台兼容性说明 |
---|---|---|
rounded-tr-none | border-top-right-radius: 0px | H5、小程序、app-vue、app-nvue |
rounded-tr-xs | border-top-right-radius: 0.3125rem | H5、小程序、app-vue、app-nvue |
rounded-tr-sm | border-top-right-radius: 0.625rem | H5、小程序、app-vue、app-nvue |
rounded-tr-base | border-top-right-radius: 0.9375rem | H5、小程序、app-vue、app-nvue |
rounded-tr-lg | border-top-right-radius: 1.25rem | H5、小程序、app-vue、app-nvue |
rounded-tr-xl | border-top-right-radius: 1.5625rem | H5、小程序、app-vue、app-nvue |
rounded-tr-2xl | border-top-right-radius: 2.5rem | H5、小程序、app-vue、app-nvue |
rounded-tr-3xl | border-top-right-radius: 3.75rem | H5、小程序、app-vue、app-nvue |
rounded-tr-4xl | border-top-right-radius: 5rem | H5、小程序、app-vue、app-nvue |
rounded-tr-full | border-top-right-radius: 312.4375rem | H5、小程序、app-vue、app-nvue |
rounded-br
Class | Properties | 平台兼容性说明 |
---|---|---|
rounded-br-none | border-bottom-right-radius: 0px | H5、小程序、app-vue、app-nvue |
rounded-br-xs | border-bottom-right-radius: 0.3125rem | H5、小程序、app-vue、app-nvue |
rounded-br-sm | border-bottom-right-radius: 0.625rem | H5、小程序、app-vue、app-nvue |
rounded-br-base | border-bottom-right-radius: 0.9375rem | H5、小程序、app-vue、app-nvue |
rounded-br-lg | border-bottom-right-radius: 1.25rem | H5、小程序、app-vue、app-nvue |
rounded-br-xl | border-bottom-right-radius: 1.5625rem | H5、小程序、app-vue、app-nvue |
rounded-br-2xl | border-bottom-right-radius: 2.5rem | H5、小程序、app-vue、app-nvue |
rounded-br-3xl | border-bottom-right-radius: 3.75rem | H5、小程序、app-vue、app-nvue |
rounded-br-4xl | border-bottom-right-radius: 5rem | H5、小程序、app-vue、app-nvue |
rounded-br-full | border-bottom-right-radius: 312.4375rem | H5、小程序、app-vue、app-nvue |
rounded-bl
Class | Properties | 平台兼容性说明 |
---|---|---|
rounded-bl-none | border-bottom-left-radius: 0px | H5、小程序、app-vue、app-nvue |
rounded-bl-xs | border-bottom-left-radius: 0.3125rem | H5、小程序、app-vue、app-nvue |
rounded-bl-sm | border-bottom-left-radius: 0.625rem | H5、小程序、app-vue、app-nvue |
rounded-bl-base | border-bottom-left-radius: 0.9375rem | H5、小程序、app-vue、app-nvue |
rounded-bl-lg | border-bottom-left-radius: 1.25rem | H5、小程序、app-vue、app-nvue |
rounded-bl-xl | border-bottom-left-radius: 1.5625rem | H5、小程序、app-vue、app-nvue |
rounded-bl-2xl | border-bottom-left-radius: 2.5rem | H5、小程序、app-vue、app-nvue |
rounded-bl-3xl | border-bottom-left-radius: 3.75rem | H5、小程序、app-vue、app-nvue |
rounded-bl-4xl | border-bottom-left-radius: 5rem | H5、小程序、app-vue、app-nvue |
rounded-bl-full | border-bottom-left-radius: 312.4375rem | H5、小程序、app-vue、app-nvue |