Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的图形用户界面:
我会将图像水平居中....你能帮帮我吗?我不明白该怎么做。
提前致谢!
为组件“yourCls”提供 cls
.yourCls{ background-image:url('resources/images/startup.png'); background-position:center; background-repeat:no-repeat; height:100%; width:100%; }
尝试这个
margin : '30px 0px 0px 0px'