<!DOCTYPE html>
<html>
<head>
<style>
.container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
<p>.circle {
width: 50px;
height: 50px;
background-color: green;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
</style></p>
</head>
<body>
<div class="container">
  <div class="circle">
    启动IE
  </div>
</div>
</body>
</html>
写一个html显示上下、左右居中的圆50px50px绿色圆上居中显示启动IE

原文地址: https://www.cveoy.top/t/topic/iMSm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录