ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~ <title>Document</title> <style> /* margin-left:auto;margin-right:auto; 仅仅针对块元素有效 */ div{ width:100px; height: 100px; background: red; margin-left: auto; margin-right: auto; } button{ display: block; width:100px; height: 100px; background: red; margin-left: auto; margin-right: auto; } </style> </head> <body> <div> div </div> <button>btn</button> </body> ~~~