<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.InlineFlex{
display: inline-flex;
align-items: center;
height: 120px;
padding: 0 4px;
background-color: indigo;
text-decoration: none;
border-radius: 3px;
color: #ddd;
}
</style>
</head>
<body>
<p>Lorem i psum dolor sit amet, consectetur adipisicing elit. Aut, distinctio? <a href="" class="InlineFlex">inline-flex link</a></p>
</body>
</html>
网友评论