1 回答
TA贡献1783条经验 获得超4个赞
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src='https://kit.fontawesome.com/a076d05399.js'></script>
</head>
<body class="bg-dark">
<div class="mt-0 mb-2 text-sm">
<div class="mr-1 text-light">
Talk time:
</div>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 150/30min
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 200/1h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
<span class="badge badge-light ml-1">
<i class="fas fa-euro-sign"></i> 250/2h
</span>
</div>
</body>
</html>
我将<p>
标签更改为<div>
- 1 回答
- 0 关注
- 86 浏览
添加回答
举报