console
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
<style>
#example2 {
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Microsoft YaHei-Regular, Microsoft YaHei';
font-weight: 400;
color: #666666;
max-width: 150px;
width: fit-content;
height: 38px;
border-radius: 100px;
background: #ffffff;
padding: 0 24px;
border: 1px solid red;
}
#example2:hover {
font-size: 24px;
font-family: 'Microsoft YaHei-Bold, Microsoft YaHei';
font-weight: bold;
color: #fb5a3a;
background: rgba(251, 90, 58, 0.1);
}
</style>
</head>
<body>
<div id="example2">不管如何!</div>
</body>
</html>