Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/41.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 使用sm覆盖样式:_Css_Tailwind Css - Fatal编程技术网

Css 使用sm覆盖样式:

Css 使用sm覆盖样式:,css,tailwind-css,Css,Tailwind Css,我希望我的边框对于类似移动设备位于顶部,而对于其他设备位于左侧。 它在手机上工作,但对其他人来说,它正在添加属性 家 由于您添加的是不带前缀的四舍五入-t-lg,因此它对所有屏幕大小都有效 要在sm断点处隐藏屏幕上的上边框,您必须添加sm:rounded-t-none 家

我希望我的边框对于类似移动设备位于顶部,而对于其他设备位于左侧。 它在手机上工作,但对其他人来说,它正在添加属性


由于您添加的是不带前缀的
四舍五入-t-lg
,因此它对所有屏幕大小都有效

要在sm断点处隐藏屏幕上的上边框,您必须添加
sm:rounded-t-none